Function at 0x4ae200
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5ae8b0
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, dword [esp + 0x44]
cmp esi, 1
push edi
jne 0x4ae241
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
inc edx
mov eax, dword [ecx]
push edx
push 0x6195ac
call dword [eax + 0x90]
jmp 0x4aed1b
cmp esi, 2
jne 0x4ae262
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
inc edx
mov eax, dword [ecx]
push edx
push 0x61976c
call dword [eax + 0x90]
jmp 0x4aed1b
or ebx, 0xffffffff
cmp esi, ebx
jne 0x4ae442
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x4c]
inc ecx
mov eax, dword [edi]
push ecx
push str.PLEASE_AV_FIRST
mov ecx, edi
call dword [eax + 0x90]
mov eax, dword [0x637760]
xor ebp, ebp
cmp eax, ebp
je 0x4ae2f2
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4ae2f2
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [edi + 0x78]
push str.PLEASE_AV_FIRST
push str._IF_
push ebp
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x637760]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb100
mov edx, dword [0x637760]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c4d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4ae33e
push str.PLEASE_AV_FIRST
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [edi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
mov dword [esp + 0x50], ebp
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov dword [esp + 0x4c], ebx
call fcn.00401140
mov eax, dword [0x631fc0]
cmp eax, ebp
je 0x4aed1b
cmp dword [eax + 0x50], ebp
jle 0x4aed1b
mov ebx, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebp*4]
test esi, esi
je 0x4ae431
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4ae431
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4ae42c
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4ae42c
mov ecx, dword [edi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x40], 1
mov eax, dword [edx - 8]
test eax, eax
je 0x4ae41b
mov al, byte [esi + 0x80]
test al, al
jne 0x4ae41b
mov eax, dword [edi + 0x78]
mov ecx, dword [esi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call ebx
add esp, 8
test eax, eax
jne 0x4ae41b
push str.PLEASE_AV_FIRST
push ecx
mov ecx, esp
mov dword [esp + 0x58], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [edi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x54], esp
push edx
mov byte [esp + 0x50], 2
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x4c], 1
call fcn.00402490
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4ae35a
jmp 0x4aed1b
cmp esi, 0xfffffffe
jne 0x4ae463
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
inc edx
mov eax, dword [ecx]
push edx
push 0x619750
call dword [eax + 0x90]
jmp 0x4aed1b
cmp esi, 0xfffffffd
jne 0x4ae484
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
inc edx
mov eax, dword [ecx]
push edx
push 0x619730
call dword [eax + 0x90]
jmp 0x4aed1b
cmp esi, 0xfffffff6
jg 0x4ae686
cmp esi, 0xffffffec
jle 0x4ae686
neg esi
push esi
lea eax, [esp + 0x1c]
push str.SCH_NBR__d_
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [0x637760]
mov edi, dword [esp + 0x58]
add esp, 0xc
test eax, eax
je 0x4ae51b
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4ae51b
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [edi + 0x78]
lea ecx, [esp + 0x18]
push ecx
push str._IF_
push 0
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x637760]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb100
mov edx, dword [0x637760]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c4d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4ae56b
lea edx, [esp + 0x18]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [edi + 0x78]
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov dword [esp + 0x50], 3
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov dword [esp + 0x4c], ebx
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x4ae66c
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4ae66c
mov ebx, 4
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebp*4]
test esi, esi
je 0x4ae660
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4ae660
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4ae65b
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4ae65b
mov ecx, dword [edi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x40], ebx
mov eax, dword [edx - 8]
test eax, eax
je 0x4ae64a
mov al, byte [esi + 0x80]
test al, al
jne 0x4ae64a
mov eax, dword [edi + 0x78]
mov ecx, dword [esi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4ae64a
lea ecx, [esp + 0x18]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [edi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x50], 5
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x4c], bl
call fcn.00402490
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4ae58a
mov ecx, dword [esp + 0x50]
mov eax, dword [edi]
inc ecx
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, edi
call dword [eax + 0x90]
jmp 0x4aed1b
cmp esi, 0xffffffe7
jne 0x4ae87c
lea eax, [esp + 0x18]
push 0x619704
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [0x637760]
mov edi, dword [esp + 0x54]
add esp, 8
test eax, eax
je 0x4ae711
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4ae711
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [edi + 0x78]
lea ecx, [esp + 0x18]
push ecx
push str._IF_
push 0
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x637760]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb100
mov edx, dword [0x637760]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c4d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4ae761
lea edx, [esp + 0x18]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [edi + 0x78]
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov dword [esp + 0x50], 6
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov dword [esp + 0x4c], ebx
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x4ae862
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4ae862
mov ebx, 7
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebp*4]
test esi, esi
je 0x4ae856
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4ae856
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4ae851
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4ae851
mov ecx, dword [edi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x40], ebx
mov eax, dword [edx - 8]
test eax, eax
je 0x4ae840
mov al, byte [esi + 0x80]
test al, al
jne 0x4ae840
mov eax, dword [edi + 0x78]
mov ecx, dword [esi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4ae840
lea ecx, [esp + 0x18]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [edi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x50], 8
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x4c], bl
call fcn.00402490
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4ae780
mov ecx, dword [esp + 0x50]
mov eax, dword [edi]
inc ecx
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, edi
call dword [eax + 0x90]
jmp 0x4aed1b
cmp esi, 0xffffffe6
jne 0x4aea72
lea eax, [esp + 0x18]
push 0x6196e4
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [0x637760]
mov edi, dword [esp + 0x54]
add esp, 8
test eax, eax
je 0x4ae907
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4ae907
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [edi + 0x78]
lea ecx, [esp + 0x18]
push ecx
push str._IF_
push 0
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x637760]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb100
mov edx, dword [0x637760]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c4d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4ae957
lea edx, [esp + 0x18]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [edi + 0x78]
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov dword [esp + 0x50], 9
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov dword [esp + 0x4c], ebx
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x4aea58
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4aea58
mov ebx, 0xa
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebp*4]
test esi, esi
je 0x4aea4c
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4aea4c
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4aea47
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4aea47
mov ecx, dword [edi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x40], ebx
mov eax, dword [edx - 8]
test eax, eax
je 0x4aea36
mov al, byte [esi + 0x80]
test al, al
jne 0x4aea36
mov eax, dword [edi + 0x78]
mov ecx, dword [esi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4aea36
lea ecx, [esp + 0x18]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x50], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [edi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x50], 0xb
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x4c], bl
call fcn.00402490
lea ecx, [esp + 0x4c]
mov dword [esp + 0x40], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4ae976
mov ecx, dword [esp + 0x50]
mov eax, dword [edi]
inc ecx
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, edi
call dword [eax + 0x90]
jmp 0x4aed1b
cmp esi, 0xffffffe5
jne 0x4aea93
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
inc edx
mov eax, dword [ecx]
push edx
push 0x6196ac
call dword [eax + 0x90]
jmp 0x4aed1b
cmp esi, 0xffffffe4
jne 0x4aeab4
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
inc edx
mov eax, dword [ecx]
push edx
push 0x6193a4
call dword [eax + 0x90]
jmp 0x4aed1b
cmp esi, 0xffffffe3
jne 0x4aead5
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
inc edx
mov eax, dword [ecx]
push edx
push 0x61938c
call dword [eax + 0x90]
jmp 0x4aed1b
cmp esi, 0xffffffe2
jne 0x4aeaf6
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
inc edx
mov eax, dword [ecx]
push edx
push 0x61936c
call dword [eax + 0x90]
jmp 0x4aed1b
cmp esi, 0xffffffe1
jne 0x4aeb17
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
inc edx
mov eax, dword [ecx]
push edx
push 0x61935c
call dword [eax + 0x90]
jmp 0x4aed1b
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CString::CString_1
neg esi
push esi
lea eax, [esp + 0x4c]
push str.SCH_NBR__d__
push eax
mov dword [esp + 0x4c], 0xc
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x637760]
mov edi, dword [esp + 0x58]
add esp, 0xc
test eax, eax
je 0x4aebac
mov cl, byte [eax + 0x40]
test cl, cl
je 0x4aebac
add eax, 0x250
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x48]
mov edx, dword [edi + 0x78]
push ecx
push str._IF_
push 0
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x637760]
push str.command
push str.esms
mov ecx, dword [eax + 0x44]
push ecx
call fcn.004eb100
mov edx, dword [0x637760]
add esp, 0x1c
mov eax, dword [edx + 0x248]
lea ecx, [edx + 0x248]
call dword [eax + 0x1c]
call fcn.0044c4d0
mov ecx, dword [eax + 0xd0]
cmp byte [ecx], 0
je 0x4aebfa
mov edx, dword [esp + 0x48]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [edi + 0x78]
push ecx
add eax, 0x3c
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x50], 0xd
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [0x631fb8]
mov byte [esp + 0x4c], 0xc
call fcn.00401140
mov eax, dword [0x631fc0]
test eax, eax
je 0x4aecf5
mov ecx, dword [eax + 0x50]
xor ebp, ebp
test ecx, ecx
jle 0x4aecf5
mov bl, 0xe
mov ecx, dword [eax + 0x4c]
mov esi, dword [ecx + ebp*4]
test esi, esi
je 0x4aece9
mov cl, byte [esi + 0x88]
test cl, cl
je 0x4aece9
call fcn.0044c4d0
mov edx, dword [eax + 0xd0]
mov al, byte [edx + 2]
test al, al
je 0x4aece4
mov eax, dword [esi + 0x84]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x4aece4
mov ecx, dword [edi + 0x78]
add ecx, 0x3c
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
mov edx, dword [esp + 0x10]
mov byte [esp + 0x40], bl
mov eax, dword [edx - 8]
test eax, eax
je 0x4aecd6
mov al, byte [esi + 0x80]
test al, al
jne 0x4aecd6
mov eax, dword [edi + 0x78]
mov ecx, dword [esi + 0x84]
mov eax, dword [eax + 0x3c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4aecd6
mov ecx, dword [esp + 0x48]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x54], esp
push str._IF_
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [edi + 0x78]
push ecx
add edx, 0x3c
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x50], 0xf
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov byte [esp + 0x4c], bl
call fcn.00402490
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0xc
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x631fc0]
mov ecx, dword [eax + 0x50]
inc ebp
cmp ebp, ecx
jl 0x4aec16
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
mov eax, dword [edi]
inc ecx
push ecx
push edx
mov ecx, edi
call dword [eax + 0x90]
lea ecx, [esp + 0x48]
mov dword [esp + 0x40], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x34
ret 0xc