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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x73b630
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
mov ebp, ecx
push esi
xor esi, esi
push edi
mov eax, dword [ebp + 0xbc]
mov dword [ebp + 0xdc], esi
cmp eax, esi
je 0x412db6
mov ecx, dword [ebp + 0xd0]
mov edx, dword [ebp + 0xf4]
cmp ecx, esi
mov dword [eax + 0x78], edx
jne 0x4125b4
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x58]
mov byte [esp + 0x58], al
call fcn.00404760
mov edi, 0x7c4d88
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x58]
push ebx
call fcn.00401450
test al, al
je 0x412423
mov edi, dword [esp + 0x58]
mov ecx, ebx
mov edx, ecx
mov esi, 0x7c4d88
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x58]
call fcn.00404970
xor esi, esi
mov ecx, dword [ebp + 0xbc]
lea eax, [esp + 0x54]
push esi
push eax
mov dword [esp + 0x84], esi
call fcn.00435f90
push 1
lea ecx, [esp + 0x58]
mov dword [esp + 0x80], 0xffffffff
call fcn.00404760
mov ecx, dword [ebp + 0x80]
test ecx, 0x100000
je 0x412589
test ecx, 0x800000
je 0x412488
mov edi, dword [ebp + 0x88]
mov eax, dword [ebp + 0x90]
sub eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, edi
mov dword [ebp + 0xc0], eax
jmp 0x412494
mov edx, dword [ebp + 0x88]
mov dword [ebp + 0xc0], edx
test ecx, 0x4000000
je 0x41256a
mov al, byte [esp + 0x13]
push esi
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov byte [esp + 0x58], al
call fcn.00404760
mov edi, 0x7a3ea4
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x58]
push ebx
call fcn.00401450
test al, al
je 0x4124fe
mov edi, dword [esp + 0x58]
mov ecx, ebx
mov edx, ecx
mov esi, 0x7a3ea4
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x58]
call fcn.00404970
lea eax, [esp + 0x24]
lea ecx, [esp + 0x54]
push eax
push 2
push ecx
mov ecx, dword [ebp + 0xbc]
mov dword [esp + 0x88], 1
call fcn.00438080
push 1
lea ecx, [esp + 0x58]
mov dword [esp + 0x80], 0xffffffff
call fcn.00404760
mov ecx, dword [ebp + 0x8c]
mov eax, dword [ebp + 0x94]
mov ebx, dword [esp + 0x28]
sub eax, ecx
sub eax, ebx
pop edi
cdq
sub eax, edx
pop esi
sar eax, 1
add eax, ecx
mov dword [ebp + 0xc4], eax
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
mov edx, dword [ebp + 0x8c]
pop edi
mov dword [ebp + 0xc4], edx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
mov eax, dword [ebp + 0x88]
mov ecx, dword [ebp + 0x8c]
pop edi
mov dword [ebp + 0xc0], eax
mov dword [ebp + 0xc4], ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
mov dl, byte [ebp + 0xc8]
lea edi, [ebp + 0xc8]
push esi
lea ecx, [esp + 0x48]
mov byte [esp + 0x48], dl
call fcn.00404760
mov eax, dword [0x76560c]
lea ecx, [esp + 0x44]
push eax
push esi
push edi
call fcn.00404560
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
cmp eax, esi
mov dword [esp + 0x7c], 2
mov dword [esp + 0x20], ecx
mov esi, 0x765608
je 0x4125fe
mov esi, eax
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x58]
mov byte [esp + 0x58], dl
call fcn.00404760
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x58]
push ebx
call fcn.00401450
test al, al
je 0x41264d
mov edi, dword [esp + 0x58]
mov ecx, ebx
mov eax, ecx
push ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x58]
call fcn.00404970
mov edi, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [ebp + 0xbc]
lea edx, [esp + 0x58]
push edi
push edx
mov byte [esp + 0x88], 3
call fcn.00438080
test eax, eax
push 1
lea ecx, [esp + 0x58]
sete bl
mov byte [esp + 0x80], 2
call fcn.00404760
test bl, bl
je 0x4126c6
mov ecx, dword [ebp + 0xbc]
lea eax, [esp + 0x44]
push 0
push eax
call fcn.00435f90
push 1
lea ecx, [esp + 0x48]
mov dword [esp + 0x80], 0xffffffff
call fcn.00404760
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
mov eax, dword [ebp + 0x88]
mov esi, dword [ebp + 0x90]
mov ecx, dword [ebp + 0x8c]
mov ebx, dword [ebp + 0x94]
mov edx, dword [ebp + 0x80]
sub esi, eax
sub ebx, ecx
mov dword [esp + 0x24], esi
test edx, 0x100000
je 0x412aca
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x68], cl
lea ecx, [esp + 0x68]
call fcn.00404760
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x7c], 4
cmp eax, esi
jg 0x4127e0
mov edx, dword [0x76560c]
lea eax, [ebp + 0xc8]
push edx
push 0
push eax
lea ecx, [esp + 0x70]
call fcn.00404560
mov ecx, dword [ebp + 0x80]
test ecx, 0x400000
je 0x412757
mov eax, dword [ebp + 0x90]
mov edx, dword [esp + 0x2c]
sub eax, edx
mov dword [ebp + 0xc0], eax
jmp 0x412788
test ecx, 0x800000
je 0x41277c
mov edx, dword [esp + 0x2c]
mov eax, esi
sub eax, edx
cdq
sub eax, edx
mov edx, dword [ebp + 0x88]
sar eax, 1
add eax, edx
mov dword [ebp + 0xc0], eax
jmp 0x412788
mov edx, dword [ebp + 0x88]
mov dword [ebp + 0xc0], edx
test ecx, 0x2000000
je 0x4127a7
mov eax, dword [ebp + 0x94]
mov ecx, dword [esp + 0x30]
sub eax, ecx
mov dword [ebp + 0xc4], eax
jmp 0x412a78
test ecx, 0x4000000
je 0x4127cf
mov edi, dword [esp + 0x30]
mov eax, ebx
mov ecx, dword [ebp + 0x8c]
sub eax, edi
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov dword [ebp + 0xc4], eax
jmp 0x412a78
mov ecx, dword [ebp + 0x8c]
mov dword [ebp + 0xc4], ecx
jmp 0x412a78
mov eax, dword [ebp + 0x80]
mov edx, dword [ebp + 0x88]
test eax, 0x2000000
mov dword [ebp + 0xc0], edx
je 0x41280d
mov eax, dword [ebp + 0x94]
mov ecx, dword [esp + 0x30]
sub eax, ecx
mov dword [ebp + 0xc4], eax
jmp 0x41283d
test eax, 0x4000000
je 0x412831
mov eax, ebx
mov ebx, dword [esp + 0x30]
mov ecx, dword [ebp + 0x8c]
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
mov dword [ebp + 0xc4], eax
jmp 0x41283d
mov ecx, dword [ebp + 0x8c]
mov dword [ebp + 0xc4], ecx
xor ecx, ecx
test edi, edi
mov dword [esp + 0x14], ecx
jle 0x412a1c
mov dword [esp + 0x1c], 1
mov dword [esp + 0x18], 2
jmp 0x412861
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x48]
mov eax, 0x765608
test esi, esi
je 0x412871
lea eax, [esi + ecx]
cmp byte [eax], 0xa
je 0x412a1c
test esi, esi
mov eax, 0x765608
je 0x412886
lea eax, [esi + ecx]
test byte [eax], 0x80
je 0x412956
test esi, esi
jne 0x412898
mov esi, 0x765608
mov dl, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x38]
mov byte [esp + 0x38], dl
call fcn.00404760
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x38]
push ebx
call fcn.00401450
test al, al
je 0x4128e9
mov edi, dword [esp + 0x38]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x3c], ebx
mov byte [ecx + ebx], 0
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x38]
push eax
push ecx
mov ecx, dword [ebp + 0xbc]
mov byte [esp + 0x88], 5
call fcn.00438080
push 1
lea ecx, [esp + 0x38]
mov byte [esp + 0x80], 4
call fcn.00404760
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
cmp eax, edx
jg 0x412a1c
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov eax, 2
add esi, eax
add edx, eax
add ecx, eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
jmp 0x412a0c
test esi, esi
jne 0x41295f
mov esi, 0x765608
mov al, byte [esp + 0x13]
push 0
lea ecx, [esp + 0x58]
mov byte [esp + 0x58], al
call fcn.00404760
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x58]
push ebx
call fcn.00401450
test al, al
je 0x4129b0
mov edi, dword [esp + 0x58]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x58]
mov dword [esp + 0x5c], ebx
mov byte [eax + ebx], 0
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [ebp + 0xbc]
lea eax, [esp + 0x58]
push edx
push eax
mov byte [esp + 0x88], 6
call fcn.00438080
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 4
call fcn.00404760
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
cmp eax, ecx
jg 0x412a1c
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
inc edx
inc ecx
inc eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
cmp edx, eax
jl 0x41285d
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x54]
push eax
push 0
push ecx
lea ecx, [ebp + 0xc8]
call fcn.0040aa70
mov edx, dword [0x76560c]
lea ecx, [esp + 0x64]
push edx
push 0
push eax
mov byte [esp + 0x88], 7
call fcn.00404560
mov eax, dword [esp + 0x58]
mov byte [esp + 0x7c], 4
test eax, eax
je 0x412a78
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x412a6f
cmp al, 0xff
je 0x412a6f
dec al
mov byte [ecx], al
jmp 0x412a78
push ecx
call fcn.00726ea6
add esp, 4
mov ecx, dword [ebp + 0xbc]
lea eax, [esp + 0x64]
push 0
push eax
mov dword [ebp + 0xdc], 1
call fcn.00435f90
mov eax, dword [esp + 0x68]
mov byte [esp + 0x7c], 2
test eax, eax
je 0x412d79
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x412abc
cmp al, 0xff
je 0x412abc
dec al
mov byte [ecx], al
jmp 0x412d79
push ecx
call fcn.00726ea6
add esp, 4
jmp 0x412d79
mov dword [ebp + 0xc0], eax
mov dword [ebp + 0xc4], ecx
mov eax, dword [ebp + 0xe8]
mov esi, dword [ebp + 0xe4]
cmp eax, eax
mov ecx, eax
je 0x412af6
mov edx, dword [ecx]
add ecx, 4
mov dword [esi], edx
add esi, 4
cmp ecx, eax
jne 0x412ae8
mov eax, dword [ebp + 0xe8]
lea ebx, [ebp + 0xe0]
push eax
push esi
mov ecx, ebx
call fcn.006bc100
mov al, byte [esp + 0x13]
mov dword [ebx + 8], esi
xor esi, esi
lea ecx, [esp + 0x54]
push esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], esi
mov byte [esp + 0x58], al
call fcn.00404760
mov edi, 0x7a3f5c
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], ecx
push ecx
lea ecx, [esp + 0x5c]
call fcn.00401450
test al, al
je 0x412b78
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x58]
mov ecx, eax
mov esi, 0x7a3f5c
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x5c], eax
xor esi, esi
mov byte [ecx + eax], 0
mov ecx, dword [ebp + 0xbc]
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x58]
push 2
push eax
mov byte [esp + 0x88], 8
call fcn.00438080
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x80], 2
call fcn.00404760
lea ecx, [esp + 0x18]
mov dword [ebp + 0xdc], 1
mov eax, dword [ebx + 8]
push ecx
push 1
push eax
mov ecx, ebx
mov dword [esp + 0x24], esi
call fcn.004ad7b0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
cmp eax, edi
jge 0x412d71
mov ecx, dword [esp + 0x48]
cmp ecx, esi
mov edx, 0x765608
je 0x412bea
lea edx, [ecx + eax]
cmp byte [edx], 0xa
jne 0x412c33
inc eax
lea edx, [edi - 1]
cmp eax, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], esi
jge 0x412d69
mov eax, dword [ebp + 0xdc]
lea ecx, [ebp + 0xe0]
inc eax
lea edx, [esp + 0x14]
mov dword [ebp + 0xdc], eax
mov eax, dword [ecx + 8]
push edx
push 1
push eax
call fcn.004ad7b0
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x14]
jmp 0x412d69
cmp ecx, esi
mov edi, 0x765608
je 0x412c3f
lea edi, [ecx + eax]
mov dl, byte [edi]
and dl, 0x80
neg dl
sbb edx, edx
neg edx
inc edx
cmp ecx, esi
mov dword [esp + 0x18], edx
mov esi, 0x765608
je 0x412c5b
lea esi, [ecx + eax]
mov al, byte [esp + 0x13]
mov edi, esi
mov byte [esp + 0x34], al
xor eax, eax
or ecx, 0xffffffff
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebx, ecx
lea ecx, [esp + 0x38]
push ebx
call fcn.00401450
test al, al
je 0x412cad
mov edi, dword [esp + 0x38]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], ebx
mov byte [eax + ebx], 0
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [ebp + 0xbc]
lea edx, [esp + 0x38]
push edi
push edx
mov byte [esp + 0x88], 9
call fcn.00438080
mov eax, dword [esp + 0x38]
xor ebx, ebx
cmp eax, ebx
mov byte [esp + 0x7c], 2
je 0x412cfb
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x412cf2
cmp al, 0xff
je 0x412cf2
dec al
mov byte [ecx], al
jmp 0x412cfb
push ecx
call fcn.00726ea6
add esp, 4
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
lea ecx, [esi + eax]
mov eax, dword [esp + 0x24]
cmp ecx, eax
mov dword [esp + 0x40], ebx
jle 0x412d4b
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
xor esi, esi
cmp eax, ecx
jge 0x412d4f
mov eax, dword [ebp + 0xdc]
lea ecx, [ebp + 0xe0]
inc eax
lea edx, [esp + 0x14]
mov dword [ebp + 0xdc], eax
mov eax, dword [ecx + 8]
push edx
push 1
push eax
call fcn.004ad7b0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
add eax, edi
mov edi, dword [esp + 0x20]
add esi, ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], eax
xor esi, esi
cmp eax, edi
jl 0x412bde
push esi
mov ecx, ebp
call fcn.00412dd0
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x7c], 0xffffffff
test ecx, ecx
je 0x412db6
mov al, byte [ecx - 1]
test al, al
je 0x412dac
cmp al, 0xff
je 0x412dac
pop edi
dec al
pop esi
pop ebp
mov byte [ecx - 1], al
pop ebx
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret
dec ecx
push ecx
call fcn.00726ea6
add esp, 4
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret