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

Disassembly:
push 0xffffffffffffffff
push 0x4f9226
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov eax, dword [esp + 0x68]
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, dword [eax + 0x18]
xor ebx, ebx
mov edi, dword [esi + 0x5c]
xor edx, edx
cmp ecx, edi
lea ecx, [esp + 0x54]
sete dl
mov dword [esp + 0x14], ebx
mov edi, edx
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], ebx
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0x10]
mov dword [esp + 0x70], 1
call sub.MFC42.DLL_CString::CString_4
cmp edi, ebx
mov byte [esp + 0x70], 2
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
jne 0x485176
mov eax, dword [esp + 0x78]
add eax, 0x48
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4849f3
mov dword [esp + 0x18], ecx
jmp 0x4849ff
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x18], eax
mov ecx, dword [0x536d10]
xor ebx, ebx
xor ebp, ebp
mov dword [esp + 0x24], ebx
mov edx, dword [ecx + 0xb30]
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [edx + 0x14ec]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x484b02
mov ecx, dword [esp + 0x78]
lea eax, [ecx + 0x48]
mov eax, dword [ecx + 0x4c]
mov edi, dword [eax + ebx*4]
mov eax, dword [edi + 8]
test eax, eax
je 0x484af5
mov eax, dword [edi + 0x24]
test eax, eax
je 0x484af5
push edi
mov ecx, esi
call fcn.00481b50
test eax, eax
je 0x484a74
mov dword [esp + 0x38], 1
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], 1
add eax, dword [edx + 0x24]
cmp ebp, eax
mov dword [esp + 0x24], eax
jge 0x484abf
lea eax, [ebp + 0xa]
cmp eax, 0x3e8
jg 0x484b02
cmp eax, dword [esp + 0x30]
ja 0x484abf
mov ebp, eax
mov eax, dword [0x536d10]
mov ecx, dword [eax + 0xb30]
mov eax, dword [ecx + 0x14d4]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x1c]
lea ecx, [eax + edx*2]
mov dword [esp + 0x1c], ecx
push edi
mov ecx, esi
call fcn.00481b50
test eax, eax
je 0x484af5
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edi, dword [edx + 0x40]
mov edx, dword [esp + 0x1c]
add eax, edi
mov dword [esp + 0x28], eax
sub eax, edx
cmp eax, ecx
jle 0x484af5
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebp
mov eax, dword [esp + 0x18]
inc ebx
cmp ebx, eax
jb 0x484a3d
test byte [0x536420], 0x80
je 0x484e23
mov eax, dword [0x536444]
test eax, eax
jne 0x484b47
mov eax, dword [esp + 0x78]
add eax, 0x48
mov ecx, dword [eax + 0x38]
test ecx, ecx
je 0x484b47
mov ecx, esi
call fcn.004d3560
mov edx, dword [esp + 0x78]
mov ecx, eax
mov edi, dword [edx + 0x150]
lea eax, [edx + 0x48]
sub ecx, edi
cmp ecx, dword [eax + 0x44]
jb 0x484e23
mov dword [esp + 0x1c], 0
mov ebx, dword [esp + 0x78]
mov eax, dword [ebx + 0x5c]
lea ebp, [ebx + 0x48]
test eax, eax
je 0x484e23
mov ecx, dword [ebp + 0x18]
sub ecx, eax
mov eax, dword [esp + 0x1c]
sar ecx, 2
cmp eax, ecx
jae 0x484e23
mov eax, dword [ebx + 0x30]
add ebx, 0x30
cmp eax, 2
ja 0x484e23
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x1c]
mov edi, dword [eax + edx*4]
test edi, edi
je 0x484e1a
cmp dword [edi + 8], 3
jne 0x484e1a
mov eax, dword [edi + 4]
mov ecx, esi
push eax
call fcn.004671e0
mov dword [esp + 0x24], eax
mov eax, dword [0x536430]
test eax, eax
jne 0x484bcd
mov ecx, dword [esp + 0x24]
push ecx
push ebp
mov ecx, esi
call fcn.00488200
test eax, eax
jne 0x484e1a
mov ecx, esi
mov dword [esi + 0x1fc], 1
call fcn.004d3560
mov ecx, dword [esp + 0x78]
mov dword [esi + 0x20c], eax
mov eax, dword [edi + 4]
lea edx, [esp + 0x54]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0046f5d0
test eax, eax
je 0x484d43
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov dword [edi + 8], 2
mov eax, dword [ebp + 4]
test eax, eax
jne 0x484c1c
xor edx, edx
jmp 0x484c24
mov edx, dword [ebp + 8]
sub edx, eax
sar edx, 2
xor ecx, ecx
test edx, edx
jbe 0x484c50
mov eax, dword [ebp + 4]
mov eax, dword [eax + ecx*4]
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x484c4b
mov ebx, dword [eax]
cmp ebx, dword [edi + 4]
jne 0x484c4b
cmp dword [eax + 0x3c], 3
jne 0x484c4b
mov dword [eax + 0x3c], 2
inc ecx
cmp ecx, edx
jb 0x484c2a
mov eax, dword [esp + 0x64]
test eax, eax
jl 0x484c99
mov edx, dword [esp + 0x78]
lea eax, [esp + 0x2c]
push edx
push eax
mov ecx, esi
call fcn.0046f940
mov ecx, dword [esp + 0x58]
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x18]
push 0x52bcfc
push eax
mov byte [esp + 0x80], 3
call sub.MFC42.DLL_CString::Format
add esp, 0x10
mov byte [esp + 0x70], 2
lea ecx, [esp + 0x2c]
jmp 0x484d27
mov eax, dword [esp + 0x24]
test eax, eax
je 0x484ca6
mov edi, dword [eax + 0xc]
jmp 0x484cc0
push 0x52bcf0
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::CString_2
or dword [esp + 0x14], 1
mov edi, dword [eax]
mov byte [esp + 0x70], 4
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x28]
push ecx
push edx
mov ecx, esi
call fcn.0046f940
mov ecx, eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x70], 5
cdq
xor eax, edx
sub eax, edx
push eax
mov eax, dword [ecx]
push edi
push eax
lea ecx, [esp + 0x1c]
push 0x52bccc
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 4
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x14]
mov dword [esp + 0x70], 2
test al, 1
je 0x484d2c
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x48]
and al, 0xfe
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push eax
push 0xa
mov ecx, esi
call dword [edx + 4]
inc dword [esp + 0x1c]
jmp 0x484b4f
push 0x52b7d4
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jl 0x484d5c
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x484d69
mov edi, dword [eax + 0xc]
jmp 0x484d83
push 0x52bcf0
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::CString_2
or dword [esp + 0x14], 2
mov edi, dword [eax]
mov byte [esp + 0x70], 6
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0x4c]
push ecx
push edx
mov ecx, esi
call fcn.0046f940
mov ecx, dword [esp + 0x54]
mov edx, dword [eax]
push ecx
push edi
push edx
lea eax, [esp + 0x1c]
push 0x52bcb4
push eax
mov dword [esp + 0x84], 7
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 6
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x14]
mov dword [esp + 0x70], 2
test al, 2
je 0x484deb
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x50]
and al, 0xfd
mov dword [esp + 0x14], eax
call sub.MFC42.DLL_CString::CString
push 0x52b7d4
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jl 0x484e04
push ebx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push eax
push 0xb
mov ecx, esi
call dword [edx + 4]
mov dword [esp + 0x20], 1
inc dword [esp + 0x1c]
jmp 0x484b4f
mov eax, dword [0x536420]
test al, 0x80
je 0x485143
test ah, 1
je 0x484f74
mov eax, dword [esp + 0x30]
mov ecx, dword [0x536490]
cmp eax, ecx
jb 0x484f74
mov ecx, dword [0x536454]
test ecx, ecx
je 0x484e65
cmp dword [esi + 0x2ac], 0x12c
jae 0x484f74
mov ecx, dword [0x536448]
test ecx, ecx
je 0x484e93
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x484f74
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x484f74
cmp eax, 0xa
jb 0x484e9f
mov edi, 0xa
jmp 0x484eab
mov eax, dword [esp + 0x3c]
test eax, eax
jl 0x484f74
mov edi, dword [esp + 0x40]
test edi, edi
je 0x484f74
mov ebx, 1
mov ecx, esi
mov dword [esi + 0x1fc], ebx
call fcn.004d3560
mov ebp, dword [esp + 0x78]
lea ecx, [esp + 0x54]
push ecx
push edi
push 0
push ebp
mov ecx, esi
mov dword [esi + 0x20c], eax
call fcn.00470e60
test eax, eax
push ebp
je 0x484f24
lea edx, [esp + 0x7c]
mov ecx, esi
push edx
call fcn.0046f940
mov eax, dword [eax]
push edi
push eax
lea ecx, [esp + 0x18]
push 0x52bc94
push ecx
mov byte [esp + 0x80], 8
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push eax
push 0xa
mov ecx, esi
call dword [edx + 4]
jmp 0x484f78
lea ecx, [esp + 0x7c]
push ecx
mov ecx, esi
call fcn.0046f940
mov edx, dword [esp + 0x54]
mov eax, dword [eax]
push edx
push eax
lea ecx, [esp + 0x18]
push 0x52bc74
push ecx
mov byte [esp + 0x80], 9
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
mov edx, dword [esi]
push eax
push 0xb
mov ecx, esi
mov dword [esp + 0x28], ebx
call dword [edx + 4]
jmp 0x484f78
mov ebp, dword [esp + 0x78]
mov eax, dword [esp + 0x18]
xor ebx, ebx
test eax, eax
jbe 0x485147
mov eax, dword [ebp + 0x4c]
mov edi, dword [eax + ebx*4]
mov eax, dword [edi + 8]
test eax, eax
je 0x485093
cmp dword [ebp + 0x30], 2
ja 0x4850a0
push edi
mov ecx, esi
call fcn.00481b50
test eax, eax
je 0x485093
push edi
mov ecx, esi
call fcn.00481b40
test eax, eax
jne 0x485093
mov eax, dword [0x536454]
mov dword [esp + 0x44], 1
test eax, eax
je 0x484fe2
cmp dword [esi + 0x2ac], 0x12c
jae 0x485093
mov ecx, esi
mov dword [esi + 0x1fc], 1
call fcn.004d3560
mov dword [esi + 0x20c], eax
mov edx, dword [edi + 0x28]
lea ecx, [esp + 0x54]
push ecx
push edx
push ebp
mov ecx, esi
call fcn.0046e000
test eax, eax
push ebp
je 0x4850c5
lea eax, [esp + 0x7c]
mov ecx, esi
push eax
call fcn.0046f940
mov ecx, dword [edi + 4]
mov byte [esp + 0x70], 0xa
mov edx, dword [ecx + 8]
mov ecx, dword [edi + 0x28]
push edx
mov edx, dword [eax]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x52bc58
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 2
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp + 0x18]
mov eax, dword [esi + 0x5c]
cmp ecx, eax
je 0x485085
lea edx, [esp + 0x54]
mov ecx, esi
push edx
push 1
call fcn.00487160
test al, 1
jne 0x485085
mov eax, dword [0x536454]
test eax, eax
je 0x485085
push 0x52bc48
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
push ecx
push 0xa
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esp + 0x18]
inc ebx
cmp ebx, eax
jb 0x484f86
mov eax, dword [esp + 0x44]
test eax, eax
je 0x485147
mov edx, dword [0x536594]
mov ecx, esi
push edx
call fcn.00481ac0
mov dword [esi + 0x2e4], eax
jmp 0x485147
lea edx, [esp + 0x7c]
mov ecx, esi
push edx
call fcn.0046f940
mov ecx, dword [esp + 0x54]
mov edx, dword [edi + 4]
mov eax, dword [eax]
push ecx
mov ecx, dword [edx + 8]
mov edx, dword [edi + 0x28]
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push 0x52bc24
push ecx
mov byte [esp + 0x88], 0xb
call sub.MFC42.DLL_CString::Format
add esp, 0x18
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 2
call sub.MFC42.DLL_CString::CString
push 0x52b7d4
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::Find_1
test eax, eax
jl 0x485128
lea edx, [ebp + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
push ecx
push 0xb
mov ecx, esi
call dword [eax + 4]
mov dword [esp + 0x20], 1
jmp 0x4850ac
mov ebp, dword [esp + 0x78]
mov eax, dword [0x536420]
test ah, 2
je 0x485159
push ebp
mov ecx, esi
call fcn.00485bb0
test byte [0x53649c], 8
je 0x485176
push ebp
mov ecx, esi
call fcn.004884a0
test eax, eax
je 0x485176
push ebp
mov ecx, esi
call fcn.00469a20
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x58]
mov dword [esp + 0x70], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov dword [esp + 0x70], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 4