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

Disassembly:
push 0xffffffffffffffff
push 0x480532
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xbc
mov eax, dword [0x49f598]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x48], eax
xor ebx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0xd4], ebx
push 0x4a3634
lea ecx, [esp + 0x14]
mov byte [esp + 0xd8], 1
mov dword [esp + 0x38], ebx
call fcn.00471554
push 0x4a3634
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], 2
call fcn.00471554
mov ebp, dword [esp + 0xdc]
mov byte [esp + 0xd4], 3
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
add eax, 4
cmp eax, ecx
jbe 0x41280a
mov ecx, ebp
call fcn.00477dba
mov ecx, dword [ebp + 0x24]
push ebp
mov dword [ecx], ebx
mov edx, dword [ebp + 0x24]
add edx, 4
mov ecx, esi
mov dword [ebp + 0x24], edx
call fcn.004120c0
mov ecx, dword [esi + 4]
lea edx, [esp + 0x20]
push 8
push edx
call fcn.00427e90
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 4
call fcn.0047161f
lea ecx, [esp + 0x20]
mov byte [esp + 0xd4], 3
call fcn.004714e6
mov eax, dword [esp + 0x18]
mov edi, 0x49a108
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [edi]
jne 0x41287f
test cl, cl
je 0x41287b
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [edi + 1]
jne 0x41287f
add eax, 2
add edi, 2
test cl, cl
jne 0x41285b
xor eax, eax
jmp 0x412884
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
cmp eax, ebx
sete cl
push ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esi + 4]
mov edx, esp
mov dword [esp + 0x30], esp
push 7
push edx
call fcn.00427e90
call fcn.00411200
mov ecx, dword [esi + 4]
mov dword [esp + 0x40], eax
mov eax, esp
mov dword [esp + 0x30], esp
push 9
push eax
call fcn.00427e90
call fcn.00411200
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0xc]
add eax, 0xfffffe98
add esp, 4
cmp eax, 0x8c
ja case.0x4128e2.363
xor ecx, ecx
mov cl, byte [eax + 0x4131a8]
jmp dword [ecx*4 + 0x413198]
lea edx, [esp + 0x10]
push edx
push ecx
mov ecx, dword [esi + 4]
mov eax, esp
mov dword [esp + 0x1c], esp
push 2
push eax
call fcn.00427e90
call fcn.00411030
mov ecx, dword [esp + 0x18]
add esp, 8
mov edi, dword [ecx - 8]
push ebx
push edi
push edi
lea ecx, [esp + 0x1c]
call fcn.00471916
push eax
call fcn.00406910
add esp, 0xc
lea ecx, [esp + 0x10]
push edi
call fcn.00471965
jmp case.0x4128e2.363
mov edx, dword [0x49f598]
mov dword [esp + 0x20], edx
lea ecx, [esp + 0x98]
mov byte [esp + 0xd4], 5
call fcn.00428040
lea eax, [esp + 0x30]
mov ebx, 0xb
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push ebx
push ecx
mov ecx, dword [esi + 4]
mov byte [esp + 0xe4], 6
call fcn.00427e90
mov edx, dword [esi + 0x10]
push edx
call fcn.00411320
mov eax, dword [esp + 0x3c]
add esp, 0xc
lea ecx, [esp + 0x20]
push eax
push str.TextFile_03d.html
push ecx
call fcn.0046f370
add esp, 0xc
lea edx, [esi + 8]
lea eax, [esp + 0x50]
push 0x49946c
push edx
push eax
call fcn.0047177b
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
push eax
push ecx
mov byte [esp + 0xe4], 7
call fcn.00471715
lea ecx, [esp + 0x9c]
call fcn.00428150
lea ecx, [esp + 0x50]
mov byte [esp + 0xd4], 6
call fcn.004714e6
push ecx
mov ecx, dword [esi + 4]
mov eax, esp
mov dword [esp + 0x28], esp
push 2
push eax
call fcn.00427e90
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0xa0]
call fcn.00428550
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 8
call fcn.0047161f
lea ecx, [esp + 0x54]
mov byte [esp + 0xd4], 6
call fcn.004714e6
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0047125b
call fcn.00411030
mov ecx, dword [esp + 0x18]
add esp, 8
mov edi, dword [ecx - 8]
push 0
push edi
push edi
lea ecx, [esp + 0x1c]
call fcn.00471916
push eax
call fcn.00406910
add esp, 0xc
lea ecx, [esp + 0x10]
push edi
call fcn.00471965
mov ecx, dword [esi + 4]
lea edx, [esp + 0x40]
push ebx
push edx
call fcn.00427e90
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], 9
call fcn.0047161f
lea ecx, [esp + 0x40]
mov byte [esp + 0xd4], 6
call fcn.004714e6
mov eax, dword [esp + 0x1c]
push 0
lea ecx, [esp + 0x20]
mov edi, dword [eax - 8]
push edi
push edi
call fcn.00471916
push eax
call fcn.00406910
add esp, 0xc
lea ecx, [esp + 0x1c]
push edi
call fcn.00471965
lea ecx, [esp + 0x98]
mov byte [esp + 0xd4], 5
call fcn.004280a0
mov byte [esp + 0xd4], 3
lea ecx, [esp + 0x20]
jmp 0x412cc0
mov ecx, dword [0x49f598]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x98]
mov byte [esp + 0xd4], 0xa
call fcn.00428040
lea edx, [esp + 0x30]
mov ebx, 0xb
push edx
push ecx
mov ecx, dword [esi + 4]
mov eax, esp
mov dword [esp + 0x2c], esp
push 0xc
push eax
mov byte [esp + 0xe4], bl
call fcn.00427e90
mov ecx, dword [esi + 0x10]
push ecx
call fcn.00411320
mov edx, dword [esp + 0x3c]
add esp, 0xc
lea eax, [esp + 0x20]
push edx
push str.TextFile_03d.html
push eax
call fcn.0046f370
add esp, 0xc
lea ecx, [esi + 8]
lea edx, [esp + 0x38]
push 0x49946c
push ecx
push edx
call fcn.0047177b
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
push eax
push ecx
mov byte [esp + 0xe4], 0xc
call fcn.00471715
lea ecx, [esp + 0x9c]
call fcn.00428150
lea ecx, [esp + 0x38]
mov byte [esp + 0xd4], bl
call fcn.004714e6
push ecx
mov ecx, dword [esi + 4]
mov eax, esp
mov dword [esp + 0x28], esp
push 2
push eax
call fcn.00427e90
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0xa0]
call fcn.00428550
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 0xd
call fcn.0047161f
lea ecx, [esp + 0x58]
mov byte [esp + 0xd4], bl
call fcn.004714e6
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.0047125b
call fcn.00411030
mov ecx, dword [esp + 0x18]
add esp, 8
mov edi, dword [ecx - 8]
push 0
push edi
push edi
lea ecx, [esp + 0x1c]
call fcn.00471916
push eax
call fcn.00406910
add esp, 0xc
lea ecx, [esp + 0x10]
push edi
call fcn.00471965
mov ecx, dword [esi + 4]
lea edx, [esp + 0x44]
push ebx
push edx
call fcn.00427e90
mov eax, dword [eax]
push eax
call fcn.0045bac6
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x34], eax
call fcn.004714e6
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push 0xc
push eax
call fcn.00427e90
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0xd8], 0xe
call fcn.0047161f
lea ecx, [esp + 0x14]
mov byte [esp + 0xd4], bl
call fcn.004714e6
mov ecx, dword [esp + 0x1c]
push 0
mov edi, dword [ecx - 8]
lea ecx, [esp + 0x20]
push edi
push edi
call fcn.00471916
push eax
call fcn.00406910
add esp, 0xc
lea ecx, [esp + 0x1c]
push edi
call fcn.00471965
lea ecx, [esp + 0x98]
mov byte [esp + 0xd4], 0xa
call fcn.004280a0
mov byte [esp + 0xd4], 3
lea ecx, [esp + 0x20]
call fcn.004714e6
xor ebx, ebx
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x5c]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 4]
push 5
push edx
call fcn.00427e90
mov eax, dword [eax]
push eax
call fcn.0045bac6
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x5c], eax
call fcn.004714e6
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push 4
push eax
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x70], ebx
call fcn.00427e90
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 0xf
call fcn.0047161f
lea ecx, [esp + 0x14]
mov byte [esp + 0xd4], 3
call fcn.004714e6
mov edx, dword [esp + 0x18]
mov edi, 0x49a104
mov eax, edx
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [edi]
jne 0x412d68
test cl, cl
je 0x412d64
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [edi + 1]
jne 0x412d68
add eax, 2
add edi, 2
test cl, cl
jne 0x412d44
xor eax, eax
jmp 0x412d6d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x412dad
mov edi, 0x49a100
mov eax, edx
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [edi]
jne 0x412d9c
test cl, cl
je 0x412d98
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [edi + 1]
jne 0x412d9c
add eax, 2
add edi, 2
test cl, cl
jne 0x412d78
xor eax, eax
jmp 0x412da1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov dword [esp + 0x6c], 0x190
jne 0x412db5
mov dword [esp + 0x6c], 0x2bc
mov edi, 0x49a0fc
mov eax, edx
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [edi]
jne 0x412de0
test cl, cl
je 0x412ddc
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [edi + 1]
jne 0x412de0
add eax, 2
add edi, 2
test cl, cl
jne 0x412dbc
xor eax, eax
jmp 0x412de5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x412e26
mov edi, 0x49a100
mov eax, edx
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x412e18
test cl, cl
je 0x412e14
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x412e18
add eax, 2
add edi, 2
test cl, cl
jne 0x412df0
xor eax, eax
jmp 0x412e1d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov byte [esp + 0x70], 0
jne 0x412e2b
mov byte [esp + 0x70], 1
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push 6
push eax
call fcn.00427e90
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd8], 0x10
call fcn.0047161f
lea ecx, [esp + 0x14]
mov byte [esp + 0xd4], 3
call fcn.004714e6
mov edx, dword [esp + 0x18]
mov edi, 0x49a0f8
mov eax, edx
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [edi]
jne 0x412e8c
test cl, cl
je 0x412e88
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [edi + 1]
jne 0x412e8c
add eax, 2
add edi, 2
test cl, cl
jne 0x412e68
xor eax, eax
jmp 0x412e91
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x412ece
mov edi, 0x49a0f4
mov eax, edx
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [edi]
jne 0x412ec0
test cl, cl
je 0x412ebc
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [edi + 1]
jne 0x412ec0
add eax, 2
add edi, 2
test cl, cl
jne 0x412e9c
xor eax, eax
jmp 0x412ec5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov byte [esp + 0x72], 0
jne 0x412ed3
mov byte [esp + 0x72], 1
mov edi, 0x49a0f0
mov eax, edx
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [edi]
jne 0x412efe
test cl, cl
je 0x412efa
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [edi + 1]
jne 0x412efe
add eax, 2
add edi, 2
test cl, cl
jne 0x412eda
xor eax, eax
jmp 0x412f03
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x412f44
mov edi, 0x49a0f4
mov eax, edx
mov dl, byte [eax]
mov bl, byte [edi]
mov cl, dl
cmp dl, bl
jne 0x412f36
test cl, cl
je 0x412f32
mov dl, byte [eax + 1]
mov bl, byte [edi + 1]
mov cl, dl
cmp dl, bl
jne 0x412f36
add eax, 2
add edi, 2
test cl, cl
jne 0x412f0e
xor eax, eax
jmp 0x412f3b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
mov byte [esp + 0x71], 0
jne 0x412f49
mov byte [esp + 0x71], 1
mov ecx, dword [esi + 4]
lea eax, [esp + 0x14]
push 0xa
push eax
call fcn.00427e90
mov eax, dword [eax]
push eax
call fcn.0045bac6
add esp, 4
lea ecx, [esp + 0x14]
mov byte [esp + 0x73], al
call fcn.004714e6
lea ecx, [esp + 0x14]
push 3
push ecx
mov ecx, dword [esi + 4]
mov byte [esp + 0x7c], 1
mov byte [esp + 0x7d], 2
mov byte [esp + 0x7e], 1
mov byte [esp + 0x7f], 0x22
call fcn.00427e90
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x78]
mov eax, ecx
mov esi, edi
mov edi, edx
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 + 0x14]
call fcn.004714e6
push 0
lea ecx, [esp + 0x60]
push 0x3c
push ecx
call fcn.00406910
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
mov esi, 4
add esp, 0xc
add edx, esi
cmp edx, eax
jbe 0x412fea
mov ecx, ebp
call fcn.00477dba
mov eax, dword [ebp + 0x24]
mov dword [eax], 1
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
add edx, esi
mov eax, edx
mov dword [ebp + 0x24], edx
add eax, 4
cmp eax, ecx
jbe 0x41300e
mov ecx, ebp
call fcn.00477dba
mov ecx, dword [ebp + 0x24]
mov edx, dword [esp + 0x4c]
mov dword [ecx], edx
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
add edx, esi
mov eax, edx
mov dword [ebp + 0x24], edx
add eax, 4
cmp eax, ecx
jbe 0x413032
mov ecx, ebp
call fcn.00477dba
mov eax, dword [ebp + 0x24]
lea ecx, [esp + 0x24]
push 8
push ecx
mov dword [eax], 1
mov ebx, dword [ebp + 0x24]
add ebx, esi
xor eax, eax
mov ecx, ebp
mov dword [ebp + 0x24], ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call fcn.00477d2a
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x28]
add edx, esi
cmp edx, eax
jbe 0x41306e
mov ecx, ebp
call fcn.00477dba
mov eax, dword [ebp + 0x24]
mov dword [eax], 0
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
add edx, esi
mov eax, edx
mov dword [ebp + 0x24], edx
add eax, 4
cmp eax, ecx
jbe 0x413092
mov ecx, ebp
call fcn.00477dba
mov ecx, dword [ebp + 0x24]
mov dword [ecx], 0
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
add edx, esi
mov eax, edx
mov dword [ebp + 0x24], edx
add eax, 4
cmp eax, ecx
jbe 0x4130b6
mov ecx, ebp
call fcn.00477dba
mov edx, dword [ebp + 0x24]
mov eax, dword [esp + 0x3c]
mov dword [edx], eax
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
add edx, esi
mov eax, edx
mov dword [ebp + 0x24], edx
add eax, 4
cmp eax, ecx
jbe 0x4130da
mov ecx, ebp
call fcn.00477dba
mov ecx, dword [ebp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [ecx], edx
mov edx, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x28]
add edx, esi
mov eax, edx
mov dword [ebp + 0x24], edx
add eax, 4
cmp eax, ecx
jbe 0x4130fe
mov ecx, ebp
call fcn.00477dba
mov eax, dword [ebp + 0x24]
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x10]
mov dword [eax], ecx
mov ecx, dword [ebp + 0x24]
add ecx, esi
push edx
push ebp
mov dword [ebp + 0x24], ecx
call fcn.00477830
lea eax, [esp + 0x5c]
push 0x3c
push eax
mov ecx, ebp
call fcn.00477d2a
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.00477830
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd4], 2
call fcn.004714e6
lea ecx, [esp + 0x10]
mov byte [esp + 0xd4], 1
call fcn.004714e6
lea ecx, [esp + 0x18]
mov byte [esp + 0xd4], 0
call fcn.004714e6
lea ecx, [esp + 0x48]
mov dword [esp + 0xd4], 0xffffffff
call fcn.004714e6
mov ecx, dword [esp + 0xcc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xc8
ret 4