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

Disassembly:
push 0xffffffffffffffff
push 0x5711a4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
push ebp
push esi
xor esi, esi
push edi
mov ebp, ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x104], esi
mov dword [esp + 0x30], esi
lea ecx, [esp + 0xb4]
mov byte [esp + 0x104], 1
mov byte [esp + 0x1b], 0
call fcn.00408610
mov dword [esp + 0x2c], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], 0x596ce0
mov dword [esp + 0x4c], esi
lea ecx, [esp + 0x9c]
mov byte [esp + 0x104], 7
call fcn.00408610
lea ecx, [esp + 0xcc]
mov byte [esp + 0x104], 8
call fcn.00408610
mov dword [esp + 0x6c], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x70], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], esi
mov dword [esp + 0x88], esi
mov ebx, dword [esp + 0x10c]
xor edi, edi
mov ecx, ebx
mov byte [esp + 0x104], 0xb
mov eax, dword [ebx]
mov dword [esp + 0x64], edi
call dword [eax + 0x68]
test eax, eax
jbe 0x4081e1
jmp 0x407b22
mov edi, dword [esp + 0x64]
mov edx, dword [ebx]
push edi
mov ecx, ebx
call dword [edx + 0x84]
mov edx, dword [eax]
lea ecx, [esp + 0x50]
push ecx
mov ecx, eax
call dword [edx + 0x18]
mov dword [esp + 0x34], eax
lea edx, [esp + 0x10]
mov byte [esp + 0x104], 0xc
cmp edx, eax
je 0x407b6f
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x407b5f
push eax
lea ecx, [esp + 0x14]
call fcn.00411610
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
cmp eax, esi
mov dword [esp + 0x10], eax
je 0x407b6f
inc dword [eax]
mov eax, dword [esp + 0x50]
mov byte [esp + 0x104], 0xb
cmp eax, esi
je 0x407b89
push eax
lea ecx, [esp + 0x54]
call fcn.00411610
mov edx, dword [ebx]
push edi
mov ecx, ebx
mov dword [esp + 0x54], esi
call dword [edx + 0x84]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x38]
mov byte [esp + 0x28], al
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 0x84]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
mov byte [esp + 0x19], al
mov eax, dword [ebx]
push edi
mov ecx, ebx
call dword [eax + 0x84]
mov edx, dword [eax]
lea ecx, [esp + 0xe4]
push ecx
mov ecx, eax
call dword [edx + 0x24]
push eax
lea ecx, [esp + 0xa0]
mov byte [esp + 0x108], 0xd
call fcn.00420ab0
lea ecx, [esp + 0xe4]
mov byte [esp + 0x104], 0xb
call fcn.00420a70
mov eax, dword [ebp + 0x1f0]
mov eax, dword [eax + 4]
cmp eax, esi
je 0x407c0e
add eax, 0x1c
jmp 0x407c10
xor eax, eax
mov eax, dword [eax + 4]
cmp eax, esi
je 0x407c1c
add eax, 0xc
jmp 0x407c21
mov eax, 0x5d8db0
mov ecx, dword [eax + 8]
cmp ecx, esi
je 0x407c38
mov eax, dword [esp + 0x28]
mov edx, dword [ecx]
push eax
call dword [edx + 0x20]
mov dword [esp + 0x3c], eax
jmp 0x407c3c
mov dword [esp + 0x3c], esi
mov edx, dword [ebx]
push edi
mov ecx, ebx
call dword [edx + 0x84]
mov edx, dword [eax]
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
call dword [edx + 0xb0]
mov eax, dword [eax]
cmp eax, esi
je 0x407c68
mov eax, dword [eax + 8]
cmp eax, esi
je 0x407c68
dec eax
cmp eax, esi
jne 0x407c7a
mov edx, dword [esp + 0x3c]
mov byte [esp + 0x1a], 1
cmp edx, esi
setg al
test al, al
jne 0x407c7f
mov byte [esp + 0x1a], 0
mov eax, dword [esp + 0x58]
cmp eax, esi
je 0x407c91
push eax
lea ecx, [esp + 0x5c]
call fcn.00411610
mov al, byte [esp + 0x1a]
mov dword [esp + 0x58], esi
test al, al
je 0x4081c9
mov dl, byte [esp + 0x1b]
mov al, byte [esp + 0x28]
cmp al, dl
jne 0x407d64
mov al, byte [esp + 0x18]
mov cl, byte [esp + 0x19]
cmp cl, al
jne 0x407d64
lea ecx, [esp + 0x14]
push esi
push ecx
lea ecx, [esp + 0x18]
call fcn.004124b0
cmp eax, 3
jne 0x407d64
lea edx, [esp + 0x54]
lea ecx, [esp + 0xb4]
push edx
call fcn.004213f0
mov edi, eax
lea eax, [esp + 0x60]
lea ecx, [esp + 0x9c]
push eax
mov byte [esp + 0x108], 0xe
call fcn.004213f0
push esi
push edi
mov ecx, eax
mov byte [esp + 0x10c], 0xf
call fcn.004124b0
xor ecx, ecx
cmp eax, 3
mov eax, dword [esp + 0x60]
mov byte [esp + 0x104], 0xe
sete cl
cmp eax, esi
mov edi, ecx
je 0x407d3a
push eax
lea ecx, [esp + 0x64]
call fcn.00411610
mov eax, dword [esp + 0x54]
mov dword [esp + 0x60], esi
cmp eax, esi
mov byte [esp + 0x104], 0xb
je 0x407d58
push eax
lea ecx, [esp + 0x58]
call fcn.00411610
cmp edi, esi
mov dword [esp + 0x54], esi
jne 0x4081c9
lea ecx, [esp + 0x44]
call fcn.0041fa40
mov dl, byte [esp + 0x28]
lea ecx, [esp + 0x44]
mov byte [eax], dl
call fcn.0041f900
mov cl, byte [esp + 0x19]
mov byte [eax], cl
lea ecx, [esp + 0x44]
call fcn.0041f980
lea edx, [esp + 0x9c]
mov ecx, eax
push edx
call fcn.00420ab0
mov cl, byte [esp + 0x19]
mov al, byte [esp + 0x28]
lea edx, [esp + 0x9c]
mov byte [esp + 0x18], cl
push edx
lea ecx, [esp + 0xb8]
mov byte [esp + 0x1f], al
call fcn.00420ab0
lea eax, [esp + 0x14]
push esi
push eax
lea ecx, [esp + 0x18]
call fcn.004124b0
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x407ddf
push eax
lea ecx, [esp + 0x18]
call fcn.00411610
mov eax, dword [esp + 0x10]
cmp eax, esi
mov dword [esp + 0x14], eax
je 0x407ded
inc dword [eax]
mov eax, dword [esp + 0x3c]
mov edi, 1
cmp eax, edi
jl 0x4081c9
jmp 0x407e02
xor esi, esi
mov eax, dword [ebp + 0x1f0]
mov eax, dword [eax + 4]
cmp eax, esi
je 0x407e14
add eax, 0x1c
jmp 0x407e16
xor eax, eax
mov eax, dword [eax + 4]
cmp eax, esi
je 0x407e22
add eax, 0xc
jmp 0x407e27
mov eax, 0x5d8db0
mov ecx, dword [eax + 8]
cmp ecx, esi
je 0x407e3b
mov eax, dword [esp + 0x28]
mov edx, dword [ecx]
push edi
push eax
call dword [edx + 0x24]
jmp 0x407e3d
xor eax, eax
mov ecx, dword [ebp + 0x1e8]
mov dword [esp + 0x34], eax
cmp ecx, 0x3e8
jne 0x407e5f
cmp byte [esp + 0x28], 1
jne 0x407e5f
mov eax, 2
mov dword [esp + 0x34], eax
mov esi, 1
cmp eax, esi
jl 0x4081ba
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x407e7e
push eax
lea ecx, [esp + 0x20]
call fcn.00411610
mov eax, dword [ebp + 0x1f0]
mov dword [esp + 0x1c], 0
mov eax, dword [eax + 4]
test eax, eax
je 0x407e98
add eax, 0x1c
jmp 0x407e9a
xor eax, eax
mov eax, dword [eax + 4]
test eax, eax
je 0x407ea6
add eax, 0xc
jmp 0x407eab
mov eax, 0x5d8db0
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x407ecd
lea eax, [esp + 0x1c]
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x2b]
push eax
push esi
lea eax, [esp + 0x50]
push edi
push eax
lea eax, [esp + 0x24]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x6c]
push edx
push eax
call fcn.00411fc0
mov ebx, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x104], 0x10
cmp ecx, ebx
je 0x407f11
mov eax, dword [esp + 0x10]
test eax, eax
je 0x407f05
push eax
lea ecx, [esp + 0x14]
call fcn.00411610
mov ebx, dword [ebx]
test ebx, ebx
mov dword [esp + 0x10], ebx
je 0x407f11
inc dword [ebx]
mov eax, dword [esp + 0x68]
mov byte [esp + 0x104], 0xb
test eax, eax
je 0x407f2b
push eax
lea ecx, [esp + 0x6c]
call fcn.00411610
mov al, byte [esp + 0x27]
mov dword [esp + 0x68], 0
test al, al
je 0x408186
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [esp + 0x18]
call fcn.004124b0
cmp eax, 3
je 0x408186
push 0
lea eax, [esp + 0x62]
push 0
push eax
push 0x2a
lea ecx, [esp + 0x20]
call fcn.00412cd0
test al, al
jne 0x408186
push 0
lea ecx, [esp + 0x62]
push 0
push ecx
push 0x20
lea ecx, [esp + 0x20]
call fcn.00412cd0
test al, al
jne 0x408186
cmp dword [ebp + 0x1e8], 0x3e8
jne 0x408151
mov eax, dword [esp + 0x10]
test eax, eax
je 0x408151
lea ecx, [esp + 0x10]
call fcn.00404a70
test eax, eax
jbe 0x408151
mov edx, dword [esp + 0x10]
cmp byte [edx + 0xc], 0x40
jne 0x408151
push 0
push 0x5c9364
lea ecx, [esp + 0x18]
call fcn.00412440
cmp eax, 3
jne 0x4080b3
push 0
push esi
push edi
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x50], esp
push eax
call fcn.00401ed0
push ecx
mov byte [esp + 0x118], 0x11
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x5c9360
call fcn.00411a30
lea ecx, [esp + 0x80]
mov byte [esp + 0x118], 0xb
push ecx
mov ecx, ebp
call fcn.00408660
push 0
push esi
push edi
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00401ed0
push ecx
mov byte [esp + 0x118], 0x12
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x5c935c
call fcn.00411a30
lea eax, [esp + 0x80]
mov ecx, ebp
push eax
mov byte [esp + 0x11c], 0xb
call fcn.00408660
push 0
push esi
push edi
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00401ed0
push ecx
mov byte [esp + 0x118], 0x13
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x5c9358
call fcn.00411a30
lea eax, [esp + 0x80]
mov ecx, ebp
push eax
mov byte [esp + 0x11c], 0xb
call fcn.00408660
push 0
push str._was
lea ecx, [esp + 0x18]
call fcn.00412440
cmp eax, 3
jne 0x408186
push 0
push esi
push edi
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00401ed0
push ecx
mov byte [esp + 0x118], 0x14
mov ecx, esp
mov dword [esp + 0x54], esp
push 0x5c934c
call fcn.00411a30
lea eax, [esp + 0x80]
mov ecx, ebp
push eax
mov byte [esp + 0x11c], 0xb
call fcn.00408660
push 0
push esi
push edi
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00401ed0
push ecx
mov byte [esp + 0x118], 0x15
mov ecx, esp
mov dword [esp + 0x54], esp
push str.were
call fcn.00411a30
lea eax, [esp + 0x80]
mov byte [esp + 0x118], 0xb
push eax
jmp 0x40817f
push 0
push esi
push edi
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00401ed0
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call fcn.00401ed0
lea ecx, [esp + 0x80]
push ecx
mov ecx, ebp
call fcn.00408660
mov eax, dword [esp + 0x10]
test eax, eax
je 0x408198
push eax
lea ecx, [esp + 0x14]
call fcn.00411610
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x10], eax
je 0x4081a6
inc dword [eax]
mov eax, dword [esp + 0x34]
inc esi
cmp esi, eax
jle 0x407e6c
mov ebx, dword [esp + 0x10c]
mov eax, dword [esp + 0x3c]
inc edi
cmp edi, eax
jle 0x407e00
xor esi, esi
mov edi, dword [esp + 0x64]
mov edx, dword [ebx]
inc edi
mov ecx, ebx
mov dword [esp + 0x64], edi
call dword [edx + 0x68]
cmp edi, eax
jb 0x407b1e
cmp dword [esp + 0x78], esi
jne 0x408317
lea ecx, [esp + 0x84]
mov byte [esp + 0x104], 0xa
call fcn.0041d410
lea ecx, [esp + 0x6c]
mov byte [esp + 0x104], 9
call fcn.0041db90
lea ecx, [esp + 0xcc]
mov byte [esp + 0x104], 8
call fcn.00420a70
lea ecx, [esp + 0x9c]
mov byte [esp + 0x104], 7
call fcn.00420a70
lea ecx, [esp + 0x44]
mov byte [esp + 0x104], 6
mov dword [esp + 0x44], 0x5968f0
call fcn.00401b60
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x104], 5
cmp eax, esi
je 0x40826b
push eax
lea ecx, [esp + 0x20]
call fcn.00411610
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], esi
cmp eax, esi
mov byte [esp + 0x104], 4
je 0x408289
push eax
lea ecx, [esp + 0x18]
call fcn.00411610
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], esi
cmp eax, esi
mov byte [esp + 0x104], 3
je 0x4082a7
push eax
lea ecx, [esp + 0x14]
call fcn.00411610
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], esi
cmp eax, esi
mov byte [esp + 0x104], 2
je 0x4082c5
push eax
lea ecx, [esp + 0x30]
call fcn.00411610
lea ecx, [esp + 0xb4]
mov dword [esp + 0x2c], esi
mov byte [esp + 0x104], 1
call fcn.00420a70
mov eax, dword [esp + 0x30]
mov byte [esp + 0x104], 0
cmp eax, esi
je 0x4082f7
push eax
lea ecx, [esp + 0x34]
call fcn.00411610
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], esi
cmp eax, esi
mov dword [esp + 0x104], 0xffffffff
je 0x4085ed
jmp 0x4085e3
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x408329
push eax
lea ecx, [esp + 0x14]
call fcn.00411610
mov eax, dword [esp + 0x78]
xor ebx, ebx
xor esi, esi
cmp eax, ebx
mov dword [esp + 0x10], ebx
jbe 0x408474
jmp 0x408341
xor ebx, ebx
push esi
lea ecx, [esp + 0x70]
call fcn.0041def0
lea ecx, [esp + 0x10]
add eax, 0xc
push ebx
push ecx
mov ecx, eax
call fcn.004124b0
cmp eax, 3
je 0x4083cf
cmp dword [esp + 0x90], ebx
je 0x40838e
lea edx, [esp + 0x84]
lea eax, [esp + 0x10]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00401ed0
mov ecx, dword [esp + 0x118]
call fcn.00434010
push esi
lea ecx, [esp + 0x70]
call fcn.0041def0
mov edi, eax
lea ecx, [esp + 0x10]
add edi, 0xc
cmp ecx, edi
je 0x4083c3
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4083b7
push eax
lea ecx, [esp + 0x14]
call fcn.00411610
mov edi, dword [edi]
cmp edi, ebx
mov dword [esp + 0x10], edi
je 0x4083c3
inc dword [edi]
lea ecx, [esp + 0x84]
call fcn.0041d410
push esi
lea ecx, [esp + 0x70]
call fcn.00408650
mov edi, eax
push esi
lea ecx, [esp + 0x70]
add edi, 8
call fcn.00408650
mov bl, byte [eax + 5]
push esi
lea ecx, [esp + 0x70]
call fcn.00408650
mov dl, byte [eax + 4]
push esi
lea ecx, [esp + 0x70]
mov byte [esp + 0x1c], dl
call fcn.00408650
mov eax, dword [eax]
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x2c], esp
mov dword [esp + 0x2c], ecx
lea ebp, [ecx + 8]
mov dword [ebp], 0
mov dword [ecx], eax
mov al, byte [esp + 0x24]
cmp ebp, edi
mov byte [esp + 0x110], 0x16
mov byte [ecx + 4], al
mov byte [ecx + 5], bl
je 0x408451
mov eax, dword [ebp]
test eax, eax
je 0x408446
push eax
mov ecx, ebp
call fcn.00411610
mov edi, dword [edi]
test edi, edi
mov dword [ebp], edi
je 0x408451
inc dword [edi]
lea ecx, [esp + 0x90]
mov byte [esp + 0x110], 0xb
call fcn.0041d6d0
mov eax, dword [esp + 0x78]
inc esi
cmp esi, eax
jb 0x40833f
xor ebx, ebx
cmp dword [esp + 0x90], ebx
je 0x4084a2
lea ecx, [esp + 0x84]
lea edx, [esp + 0x10]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00401ed0
mov ecx, dword [esp + 0x118]
call fcn.00434010
lea ecx, [esp + 0x84]
mov byte [esp + 0x104], 0xa
call fcn.0041d410
lea ecx, [esp + 0x6c]
mov byte [esp + 0x104], 9
call fcn.0041db90
lea ecx, [esp + 0xcc]
mov byte [esp + 0x104], 8
call fcn.00420a70
lea ecx, [esp + 0x9c]
mov byte [esp + 0x104], 7
call fcn.00420a70
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x104], 6
cmp eax, ebx
mov dword [esp + 0x44], 0x5968f0
je 0x408526
mov ecx, dword [eax + 8]
dec ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x4c]
cmp dword [ecx + 8], ebx
jne 0x408522
cmp ecx, ebx
je 0x408522
mov eax, dword [ecx]
push 1
call dword [eax + 4]
mov dword [esp + 0x4c], ebx
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x104], 5
cmp eax, ebx
je 0x408540
push eax
lea ecx, [esp + 0x20]
call fcn.00411610
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
cmp eax, ebx
mov byte [esp + 0x104], 4
je 0x40855e
push eax
lea ecx, [esp + 0x18]
call fcn.00411610
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], ebx
cmp eax, ebx
mov byte [esp + 0x104], 3
je 0x40857c
push eax
lea ecx, [esp + 0x14]
call fcn.00411610
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], ebx
cmp eax, ebx
mov byte [esp + 0x104], 2
je 0x40859a
push eax
lea ecx, [esp + 0x30]
call fcn.00411610
lea ecx, [esp + 0xb4]
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x104], 1
call fcn.00420a70
mov eax, dword [esp + 0x30]
mov byte [esp + 0x104], 0
cmp eax, ebx
je 0x4085cc
push eax
lea ecx, [esp + 0x34]
call fcn.00411610
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], ebx
cmp eax, ebx
mov dword [esp + 0x104], 0xffffffff
je 0x4085ed
push eax
lea ecx, [esp + 0x3c]
call fcn.00411610
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0xf8
ret 8