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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f1611
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x184
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0xc0]
xor ebx, ebx
cmp ecx, ebx
push edi
mov dword [esp + 0x20], esi
je 0x420fb3
mov edx, dword [ecx - 4]
cmp edx, ebx
lea eax, [ecx - 4]
je 0x420faa
mov eax, dword [ecx]
push 3
call dword [eax + 4]
jmp 0x420fb3
push eax
call fcn.004df1b9
add esp, 4
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov eax, dword [esi + 0xcc]
cmp eax, ebx
je 0x420fd8
push eax
call fcn.004df1b9
add esp, 4
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xd4], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xe0], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x1a0], ebx
call fcn.0041f390
mov ecx, eax
call fcn.004225e0
lea eax, [esi + 0xe4]
push eax
call fcn.0041f390
mov ecx, eax
call fcn.00421a00
lea ecx, [esp + 0x24]
call fcn.00420480
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebx
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
mov byte [esp + 0x19c], 1
jbe 0x42108b
xor ebp, ebp
cmp ebx, ecx
mov eax, dword [esp + 0x28]
jae 0x421057
mov edx, dword [esp + 0x34]
lea ecx, [edx + ebp]
jmp 0x421059
xor ecx, ecx
push ecx
mov ecx, dword [eax + 4]
lea edi, [eax + 4]
push ecx
push eax
lea ecx, [esp + 0x30]
call fcn.004204a0
push 1
lea ecx, [esp + 0x28]
mov esi, eax
call fcn.00420ec0
mov dword [edi], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
mov ecx, dword [esp + 0x30]
inc ebx
add ebp, 0x18
cmp ebx, ecx
jb 0x421046
mov esi, dword [esp + 0x20]
mov eax, dword [esi + 0x104]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x4c], ecx
jbe 0x4216e2
jmp 0x4210b0
mov ecx, dword [esp + 0x4c]
lea esp, [esp]
mov eax, dword [esp + 0x20]
cmp ecx, dword [eax + 0x104]
jae 0x4210c7
mov edx, dword [eax + 0x108]
lea ecx, [edx + ecx*4]
jmp 0x4210c9
xor ecx, ecx
mov edx, dword [eax + 0xfc]
mov esi, dword [eax + 0x100]
mov ecx, dword [ecx]
mov eax, ecx
shr eax, 0x10
mov edi, edx
shr edi, 1
sub eax, edi
mov edi, eax
mov eax, esi
and ecx, 0xffff
shr eax, 1
sub ecx, eax
mov ebp, ecx
push ebp
lea ebx, [edi + edx]
push ebx
push ebp
lea ecx, [esp + 0x17c]
push edi
add esi, ebp
push ecx
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], ebp
mov dword [esp + 0xb8], ebx
mov dword [esp + 0xa0], esi
call fcn.004886f0
mov edx, dword [eax]
mov ecx, dword [eax + 4]
push esi
push ebx
mov dword [esp + 0x9c], edx
mov edx, dword [eax + 8]
push ebp
lea eax, [esp + 0x1a0]
push ebx
push eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
call fcn.004886f0
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
push esi
push edi
push esi
mov dword [esp + 0xdc], ecx
lea ecx, [esp + 0x174]
push ebx
push ecx
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], eax
call fcn.004886f0
mov edx, dword [eax + 4]
mov ebx, dword [eax]
mov eax, dword [eax + 8]
push ebp
push edi
push esi
lea ecx, [esp + 0x198]
push edi
push ecx
mov dword [esp + 0x128], edx
mov dword [esp + 0x12c], eax
call fcn.004886f0
mov edx, dword [eax + 4]
mov ebp, dword [eax]
mov eax, dword [eax + 8]
add esp, 0x50
xor esi, esi
mov dword [esp + 0xcc], edx
mov dword [esp + 0xd0], eax
mov dword [esp + 0x38], 0x500000
mov dword [esp + 0x3c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], esi
push 0xffffffffffffffff
mov byte [esp + 0x1a0], 2
push 1
lea ecx, [esp + 0x40]
call fcn.0041f0d0
mov edx, dword [esp + 0x80]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x84]
mov dword [ecx], edx
mov edx, dword [esp + 0x88]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x40]
cmp eax, esi
mov dword [ecx + 8], edx
mov edi, eax
jl 0x421946
push 0xffffffffffffffff
inc eax
push eax
lea ecx, [esp + 0x40]
call fcn.0041f0d0
mov ecx, dword [esp + 0x3c]
lea eax, [edi + edi*2]
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xac]
mov dword [edx], eax
mov eax, dword [esp + 0xb0]
mov dword [edx + 4], ecx
mov dword [edx + 8], eax
mov eax, dword [esp + 0x40]
test eax, eax
mov esi, eax
jl 0x421946
push 0xffffffffffffffff
inc eax
push eax
lea ecx, [esp + 0x40]
call fcn.0041f0d0
mov edx, dword [esp + 0x3c]
lea ecx, [esi + esi*2]
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0xdc]
mov dword [eax], ebx
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov eax, dword [esp + 0x40]
test eax, eax
mov esi, eax
jl 0x421946
push 0xffffffffffffffff
inc eax
push eax
lea ecx, [esp + 0x40]
call fcn.0041f0d0
mov ecx, dword [esp + 0x3c]
lea eax, [esi + esi*2]
lea edx, [ecx + eax*4]
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0xd0]
mov dword [edx], ebp
mov dword [edx + 4], eax
mov eax, dword [esp + 0x28]
mov dword [edx + 8], ecx
mov ebp, dword [eax]
cmp ebp, eax
je 0x4216a4
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
push eax
push ecx
push edx
lea edx, [esp + 0x16c]
push esi
push edx
call fcn.004886f0
mov ecx, dword [eax]
mov dword [esp + 0xd0], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0xd4], edx
mov eax, dword [eax + 8]
mov dword [esp + 0xd8], eax
mov edi, dword [ebp + 8]
add esp, 0x14
call fcn.00407350
mov esi, eax
mov ecx, esi
mov dword [esp + 0x1c], esi
call fcn.00401300
push 0x14
lea ecx, [esi + 0x30]
push str..FireEvaDrawDlg.cpp
mov byte [esp + 0x1a4], 3
call fcn.00401880
mov dword [esi + 0x34], 0x294
mov edx, dword [esi]
mov ecx, esi
mov byte [esp + 0x19c], 2
call dword [edx + 0x14]
push edi
push str.GetCross_With_Path__d
push 4
call fcn.0047dea0
xor edi, edi
xor ebx, ebx
add esp, 0xc
mov dword [esp + 0x90], 0x4fffe8
mov dword [esp + 0x94], ebx
mov dword [esp + 0xa0], edi
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], edi
cmp dword [esp + 0x40], edi
mov byte [esp + 0x19c], 4
mov dword [esp + 0x14], edi
jle 0x421517
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
test eax, eax
jl 0x421946
cmp eax, dword [esp + 0x40]
jge 0x421946
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xe0]
push ecx
lea edx, [esp + 0xc0]
push edx
push eax
call fcn.004887a0
add esp, 0xc
test eax, eax
je 0x4214f7
fld qword [esp + 0xe8]
call fcn.004cf0fc
fld qword [esp + 0xe0]
mov esi, eax
mov dword [esp + 0x1c], esi
call fcn.004cf0fc
mov ecx, eax
cmp ecx, dword [esp + 0x50]
mov dword [esp + 0x60], ecx
jl 0x4214f7
cmp ecx, dword [esp + 0xa4]
ja 0x4214f7
cmp esi, dword [esp + 0x54]
jl 0x4214f7
cmp esi, dword [esp + 0x8c]
ja 0x4214f7
xor eax, eax
test edi, edi
jle 0x421460
jmp 0x421440
test eax, eax
jl 0x421946
cmp eax, edi
jge 0x421946
cmp dword [ebx + eax*8], ecx
jne 0x42145b
cmp dword [ebx + eax*8 + 4], esi
je 0x421460
inc eax
cmp eax, edi
jl 0x421440
cmp eax, edi
jne 0x4214f7
call fcn.00407350
mov esi, eax
mov ecx, esi
mov dword [esp + 0x5c], esi
call fcn.00401300
push 0x14
lea ecx, [esi + 0x30]
push str..FireEvaDrawDlg.cpp
mov byte [esp + 0x1a4], 5
call fcn.00401880
mov dword [esi + 0x34], 0x2ab
mov edx, dword [esi]
mov ecx, esi
mov byte [esp + 0x19c], 4
call dword [edx + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x60]
push eax
push ecx
push str.AddCross___d___d_
push 4
call fcn.0047dea0
add esp, 0x10
test edi, edi
mov esi, edi
jl 0x421946
push 0xffffffffffffffff
inc edi
push edi
lea ecx, [esp + 0x98]
call fcn.0041ef60
mov ebx, dword [esp + 0x94]
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x98]
mov dword [ebx + esi*8], edx
mov dword [ebx + esi*8 + 4], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x40]
inc eax
add edx, 0xc
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
jl 0x4213a8
xor esi, esi
mov dword [esp + 0x6c], 0x4ffff4
mov dword [esp + 0x70], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], esi
cmp edi, 1
mov byte [esp + 0x19c], 6
jne 0x4215f1
lea ecx, [esp + 0x6c]
push ecx
push ebx
mov ecx, dword [esp + 0x28]
push ebx
lea eax, [ebp + 8]
push eax
call fcn.004209b0
cmp dword [esp + 0x74], esi
je 0x421657
cmp ebp, dword [esp + 0x28]
mov edi, dword [ebp]
je 0x421589
mov eax, dword [ebp + 4]
mov dword [eax], edi
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
push ebp
mov dword [ecx + 4], edx
call fcn.004df1b9
mov eax, dword [esp + 0x30]
add esp, 4
dec eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x74]
xor ebx, ebx
test eax, eax
mov ebp, edi
jle 0x42165a
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], eax
test ebx, ebx
jl 0x421946
cmp ebx, dword [esp + 0x74]
jge 0x421946
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 4]
push ecx
push edx
push edi
lea ecx, [esp + 0x30]
call fcn.004204a0
push 1
lea ecx, [esp + 0x28]
mov esi, eax
call fcn.00420ec0
mov ecx, dword [esp + 0x18]
mov dword [edi + 4], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
mov eax, dword [esp + 0x74]
inc ebx
add ecx, 0x18
cmp ebx, eax
mov dword [esp + 0x18], ecx
jl 0x4215a1
jmp 0x42165a
cmp edi, 2
jne 0x421604
lea edx, [esp + 0x6c]
lea eax, [ebx + 8]
push edx
push eax
jmp 0x421548
cmp edi, esi
je 0x421657
call fcn.00407350
mov esi, eax
mov ecx, esi
mov dword [esp + 0x5c], esi
call fcn.00401300
push 0x14
lea ecx, [esi + 0x30]
push str..FireEvaDrawDlg.cpp
mov byte [esp + 0x1a4], 7
call fcn.00401880
mov dword [esi + 0x34], 0x2b8
mov eax, dword [esi]
mov ecx, esi
mov byte [esp + 0x19c], 6
call dword [eax + 0x14]
push edi
push str.GetCross_Count_d.
push 0x20
call fcn.0047dea0
add esp, 0xc
mov ebp, dword [ebp]
mov eax, dword [esp + 0x70]
test eax, eax
mov dword [esp + 0x6c], 0x4ffff4
je 0x421673
push eax
call fcn.004df1b9
add esp, 4
mov eax, dword [esp + 0x94]
test eax, eax
mov byte [esp + 0x19c], 2
mov dword [esp + 0x90], 0x4fffe8
je 0x42169a
push eax
call fcn.004df1b9
add esp, 4
cmp ebp, dword [esp + 0x28]
jne 0x4212d0
mov eax, dword [esp + 0x3c]
test eax, eax
mov byte [esp + 0x19c], 1
mov dword [esp + 0x38], 0x500000
je 0x4216c5
push eax
call fcn.004df1b9
add esp, 4
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x104]
inc eax
cmp eax, edx
mov dword [esp + 0x4c], eax
jb 0x4210a5
mov esi, ecx
mov edx, dword [esp + 0x2c]
push edx
push 0
lea ecx, [esp + 0x38]
call fcn.0041f320
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
xor edx, edx
cmp ecx, eax
je 0x421745
xor edi, edi
cmp edx, dword [esp + 0x30]
mov ebx, ecx
mov ecx, dword [ecx]
jae 0x421712
mov eax, dword [esp + 0x34]
add eax, edi
jmp 0x421714
xor eax, eax
add ebx, 8
mov ebp, dword [ebx]
mov dword [eax], ebp
mov ebp, dword [ebx + 4]
mov dword [eax + 4], ebp
mov ebp, dword [ebx + 8]
mov dword [eax + 8], ebp
mov ebp, dword [ebx + 0xc]
mov dword [eax + 0xc], ebp
mov ebp, dword [ebx + 0x10]
mov dword [eax + 0x10], ebp
mov ebx, dword [ebx + 0x14]
mov dword [eax + 0x14], ebx
mov eax, dword [esp + 0x28]
inc edx
add edi, 0x18
cmp ecx, eax
jne 0x421700
lea ecx, [esp + 0xf0]
call fcn.0048a070
lea eax, [esi + 0xe4]
push eax
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0xf8]
mov byte [esp + 0x1a4], 8
call fcn.0048a130
lea edx, [esp + 0xb4]
push edx
lea ecx, [esp + 0xf4]
call fcn.00488db0
fld qword [0x500210]
lea edi, [esi + 0xc8]
fstp qword [esp + 0x50]
xor ebx, ebx
push edi
lea ecx, [esp + 0xf4]
mov dword [esp + 0x20], ebx
call fcn.00489630
mov ebp, dword [esi + 0xd0]
lea eax, [ebp + ebp*4]
lea ecx, [eax*4 + 4]
push ecx
mov dword [esi + 0xe0], ebp
call fcn.004df1be
add esp, 4
mov dword [esp + 0x5c], eax
cmp eax, ebx
mov byte [esp + 0x19c], 9
je 0x4217f0
push fcn.0041f4b0
push 0x41f430
push ebp
lea ebx, [eax + 4]
push 0x14
push ebx
mov dword [eax], ebp
call fcn.004cee21
mov eax, dword [esi + 0xd0]
mov dword [esi + 0xc0], ebx
xor ebx, ebx
cmp eax, ebx
mov byte [esp + 0x19c], 8
jle 0x4218e2
mov dword [esp + 0x14], ebx
test ebx, ebx
jl 0x421946
cmp ebx, dword [edi + 8]
jge 0x421946
mov eax, dword [edi + 4]
lea edx, [esp + 0x60]
lea ebp, [ebx*8]
add eax, ebp
push edx
push eax
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0xfc]
call fcn.00489b90
test eax, eax
je 0x4218c8
cmp ebx, dword [edi + 8]
jge 0x421946
mov ecx, dword [esi + 0xc0]
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 4]
add ecx, edx
push ecx
add eax, ebp
push eax
lea edx, [esp + 0xbc]
push edx
lea ecx, [esp + 0xfc]
call fcn.00489c50
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x421894
fld qword [esp + 0x60]
fcomp qword [esp + 0x50]
fnstsw ax
test ah, 5
jp 0x4218c8
cmp ebx, dword [edi + 8]
jge 0x421946
mov eax, dword [edi + 4]
fld qword [esp + 0x60]
mov ecx, dword [esi + 0xc0]
fstp qword [esp + 0x50]
add eax, ebp
mov dword [esi + 0xdc], eax
add ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], 1
mov dword [esi + 0xc4], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esi + 0xd0]
inc ebx
add ecx, 0x14
cmp ebx, eax
mov dword [esp + 0x14], ecx
jl 0x421812
lea ecx, [esp + 0xf0]
mov byte [esp + 0x19c], 1
call fcn.00489fe0
mov esi, dword [esp + 0x28]
mov eax, dword [esi]
cmp eax, esi
mov dword [esi], esi
mov dword [esi + 4], esi
je 0x421916
mov edi, dword [eax]
push eax
call fcn.004df1b9
add esp, 4
cmp edi, esi
mov eax, edi
jne 0x421905
push esi
call fcn.004df1b9
mov eax, dword [esp + 0x38]
add esp, 4
test eax, eax
je 0x421930
push eax
call fcn.004df1b9
add esp, 4
mov ecx, dword [esp + 0x194]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
jmp fcn.004dced3