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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xa0
mov esi, esp
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esi + 0x98], eax
mov dword [esi + 0x48], 0x503c28
mov dword [esi + 0x4c], ecx
mov eax, 0x414180
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0x503c2c
mov dword [esi + 0x58], str.abtup
lea edx, [ecx + 0xc]
mov dword [esi + 4], edx
mov dword [esi + 0x5c], edx
mov dword [esi + 0x60], eax
xor edi, edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], 0x503c34
lea edx, [ecx + 0x18]
mov dword [esi + 8], edx
mov dword [esi + 0x6c], edx
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], str.scup
lea edx, [ecx + 0x24]
mov dword [esi + 0x10], edx
mov dword [esi + 0x7c], edx
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], str.pwexp
mov dword [esi + 0xc], ecx
lea eax, [ecx + 0x30]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], 0x4141c0
mov dword [esi + 0x94], edi
mov edi, 0xc
xor eax, eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], eax
lea ebx, [esi + 0x20]
mov ecx, ebx
push dword [esi + edi + 0x3c]
call fcn.004b43f0
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 0x30]
push eax
push ebx
call fcn.00418e40
mov ebx, eax
cmp byte [esi + 0x2b], 0
jns 0x4137d8
push dword [esi + 0x20]
call fcn.00489982
add esp, 4
test bl, bl
jne 0x4137ed
mov eax, dword [esi + edi + 0x48]
test eax, eax
je 0x41383d
lea ecx, [esi + 0x30]
push eax
call fcn.0046bc20
lea eax, [esi + 0x30]
push eax
call dword [esi + edi + 0x44]
add esp, 4
test al, al
je 0x41383d
push dword [esi + edi + 0x40]
call fcn.004cba00
add esp, 4
test al, al
je 0x41381a
push dword [esi + edi + 0x40]
call fcn.004435d0
add esp, 4
jmp 0x41383d
mov eax, dword [esi + edi + 0x40]
cmp byte [eax + 0xb], 0
js 0x41382f
mov word [eax], 0
mov byte [eax + 0xb], 0
jmp 0x41383d
mov ecx, dword [eax]
mov word [ecx], 0
mov dword [eax + 4], 0
cmp byte [esi + 0x3b], 0
jns 0x41384e
push dword [esi + 0x30]
call fcn.00489982
add esp, 4
add edi, 0x10
cmp edi, 0x5c
jne 0x41379f
mov ebx, dword [esi + 0xc]
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x413868
mov eax, dword [ebx + 4]
test eax, eax
je 0x413995
mov dword [esi + 0x14], esp
push eax
sub esp, 0x1c
mov edi, esp
push dword [ebp + 8]
lea eax, [esi + 0x20]
push eax
call fcn.00416fd0
add esp, 8
mov dword [edi], 0x4d2e20
mov eax, dword [esi + 0x28]
mov dword [edi + 0xc], eax
movsd xmm0, qword [esi + 0x20]
movsd qword [edi + 4], xmm0
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
lea eax, [ebx + 0x40]
mov dword [esi + 0x18], eax
lea ecx, [edi + 0x10]
mov dword [esi], ecx
push ebx
call fcn.004404c0
mov eax, dword [esi + 0x18]
mov dword [edi + 0x1c], eax
mov dword [esi + 0x3c], 0x414700
mov dword [esi + 0x40], 0x503d6c
push 0x20
call fcn.00489952
add esp, 4
mov ebx, eax
mov eax, dword [edi]
mov dword [ebx], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
movsd xmm0, qword [edi + 4]
movsd qword [ebx + 4], xmm0
xor eax, eax
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov dword [edi + 4], eax
lea ecx, [ebx + 0x10]
push dword [esi]
call fcn.00440500
mov eax, dword [edi + 0x1c]
mov dword [ebx + 0x1c], eax
mov dword [esi + 0x34], ebx
mov ecx, dword [esi]
call fcn.0046d580
cmp byte [edi + 0xf], 0
jns 0x413926
add edi, 4
push dword [edi]
call fcn.00489982
add esp, 4
mov esp, dword [esi + 0x14]
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx + 0x4c]
cmp eax, dword [ebx + 0x50]
jae 0x413966
movsd xmm0, qword [esi + 0x34]
movsd qword [eax + 4], xmm0
mov ecx, dword [esi + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x40]
mov dword [eax + 0x10], ecx
cmp dword [ecx + 4], 0
je 0x41395e
mov dword [esi + 0x40], 0x503d5c
mov dword [esi + 0x3c], 0x4b4ae0
add eax, 0x14
mov dword [ebx + 0x4c], eax
jmp 0x413972
lea ecx, [ebx + 0x48]
lea eax, [esi + 0x30]
push eax
call fcn.004145a0
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 4]
test eax, eax
je 0x413984
push dword [esi + 0x34]
call eax
add esp, 4
cmp byte [esi + 0x2b], 0
jns 0x413995
push dword [esi + 0x20]
call fcn.00489982
add esp, 4
mov eax, dword [esi + 4]
movzx eax, byte [eax + 0xb]
test al, al
jns 0x4139a3
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x413acc
mov dword [esi + 0x14], esp
push eax
sub esp, 0x1c
mov edi, esp
push dword [ebp + 8]
lea eax, [esi + 0x20]
push eax
call fcn.00417450
add esp, 8
mov dword [edi], 0x4d2e20
mov eax, dword [esi + 0x28]
mov dword [edi + 0xc], eax
movsd xmm0, qword [esi + 0x20]
movsd qword [edi + 4], xmm0
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
add ebx, 0x40
lea ecx, [edi + 0x10]
mov dword [esi], ecx
push dword [esi + 4]
call fcn.004404c0
mov dword [edi + 0x1c], ebx
mov dword [esi + 0x3c], 0x414700
mov dword [esi + 0x40], 0x503d6c
push 0x20
call fcn.00489952
add esp, 4
mov ebx, eax
mov eax, dword [edi]
mov dword [ebx], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
movsd xmm0, qword [edi + 4]
movsd qword [ebx + 4], xmm0
xor eax, eax
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov dword [edi + 4], eax
lea ecx, [ebx + 0x10]
push dword [esi]
call fcn.00440500
mov eax, dword [edi + 0x1c]
mov dword [ebx + 0x1c], eax
mov dword [esi + 0x34], ebx
mov ecx, dword [esi]
call fcn.0046d580
cmp byte [edi + 0xf], 0
jns 0x413a5d
add edi, 4
push dword [edi]
call fcn.00489982
add esp, 4
mov esp, dword [esi + 0x14]
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx + 0x4c]
cmp eax, dword [ebx + 0x50]
jae 0x413a9d
movsd xmm0, qword [esi + 0x34]
movsd qword [eax + 4], xmm0
mov ecx, dword [esi + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x40]
mov dword [eax + 0x10], ecx
cmp dword [ecx + 4], 0
je 0x413a95
mov dword [esi + 0x40], 0x503d5c
mov dword [esi + 0x3c], 0x4b4ae0
add eax, 0x14
mov dword [ebx + 0x4c], eax
jmp 0x413aa9
lea ecx, [ebx + 0x48]
lea eax, [esi + 0x30]
push eax
call fcn.004145a0
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 4]
test eax, eax
je 0x413abb
push dword [esi + 0x34]
call eax
add esp, 4
cmp byte [esi + 0x2b], 0
jns 0x413acc
push dword [esi + 0x20]
call fcn.00489982
add esp, 4
mov eax, dword [esi + 8]
movzx eax, byte [eax + 0xb]
test al, al
jns 0x413ada
mov eax, dword [ebx + 0x1c]
test eax, eax
je 0x413c04
mov dword [esi], esp
push eax
sub esp, 0x1c
mov edi, esp
push dword [ebp + 8]
lea eax, [esi + 0x20]
push eax
call fcn.00417470
add esp, 8
mov dword [edi], 0x446ed0
mov eax, dword [esi + 0x28]
mov dword [edi + 0xc], eax
movsd xmm0, qword [esi + 0x20]
movsd qword [edi + 4], xmm0
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
add ebx, 0x40
lea ecx, [edi + 0x10]
mov dword [esi + 4], ecx
push dword [esi + 8]
call fcn.004404c0
mov dword [edi + 0x1c], ebx
mov dword [esi + 0x3c], 0x414700
mov dword [esi + 0x40], 0x503d7c
push 0x20
call fcn.00489952
add esp, 4
mov ebx, eax
mov eax, dword [edi]
mov dword [ebx], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
movsd xmm0, qword [edi + 4]
movsd qword [ebx + 4], xmm0
xor eax, eax
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov dword [edi + 4], eax
lea ecx, [ebx + 0x10]
push dword [esi + 4]
call fcn.00440500
mov eax, dword [edi + 0x1c]
mov dword [ebx + 0x1c], eax
mov dword [esi + 0x34], ebx
mov ecx, dword [esi + 4]
call fcn.0046d580
cmp byte [edi + 0xf], 0
jns 0x413b96
add edi, 4
push dword [edi]
call fcn.00489982
add esp, 4
mov esp, dword [esi]
mov ebx, dword [esi + 0xc]
mov eax, dword [ebx + 0x4c]
cmp eax, dword [ebx + 0x50]
jae 0x413bd5
movsd xmm0, qword [esi + 0x34]
movsd qword [eax + 4], xmm0
mov ecx, dword [esi + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x40]
mov dword [eax + 0x10], ecx
cmp dword [ecx + 4], 0
je 0x413bcd
mov dword [esi + 0x40], 0x503d5c
mov dword [esi + 0x3c], 0x4b4ae0
add eax, 0x14
mov dword [ebx + 0x4c], eax
jmp 0x413be1
lea ecx, [ebx + 0x48]
lea eax, [esi + 0x30]
push eax
call fcn.004145a0
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 4]
test eax, eax
je 0x413bf3
push dword [esi + 0x34]
call eax
add esp, 4
cmp byte [esi + 0x2b], 0
jns 0x413c04
push dword [esi + 0x20]
call fcn.00489982
add esp, 4
mov eax, dword [esi + 0x10]
movzx eax, byte [eax + 0xb]
test al, al
jns 0x413c12
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x413da3
mov dword [esi], esp
push eax
sub esp, 0x28
mov edi, esp
mov eax, dword [ebp + 8]
lea ebx, [eax + 0xa4]
mov dword [edi], 0x4141e0
lea ecx, [edi + 4]
cmp byte [eax + 0x4b], 0
mov dword [esi + 0x14], ecx
js 0x413c50
add eax, 0x40
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
movsd xmm0, qword [eax]
movsd qword [ecx], xmm0
jmp 0x413c5b
push dword [eax + 0x44]
push dword [eax + 0x40]
call fcn.0046ba90
mov eax, dword [esi + 0xc]
add eax, 0x40
mov dword [esi + 0x18], eax
lea eax, [edi + 0x10]
mov dword [esi + 8], eax
cmp byte [ebx + 0xb], 0
js 0x413c83
mov eax, dword [ebx + 8]
mov ecx, dword [esi + 8]
mov dword [ecx + 8], eax
movsd xmm0, qword [ebx]
movsd qword [ecx], xmm0
jmp 0x413c9a
mov ecx, dword [esi + 8]
mov eax, dword [ebp + 8]
push dword [eax + 0xa8]
push dword [eax + 0xa4]
call fcn.0046ba90
mov ecx, edi
add ecx, 0x1c
mov dword [esi + 4], ecx
push dword [esi + 0x10]
call fcn.004404c0
mov eax, dword [esi + 0x18]
mov dword [edi + 0x28], eax
mov dword [esi + 0x3c], 0x4147b0
mov dword [esi + 0x40], 0x503d8c
push 0x2c
call fcn.00489952
add esp, 4
mov ebx, eax
mov eax, dword [edi]
mov dword [ebx], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
movsd xmm0, qword [edi + 4]
movsd qword [ebx + 4], xmm0
xor eax, eax
mov dword [edi + 8], eax
mov dword [edi + 4], eax
mov dword [edi + 0xc], eax
mov edx, dword [esi + 8]
mov ecx, dword [edx + 8]
mov dword [ebx + 0x18], ecx
movsd xmm0, qword [edx]
movsd qword [ebx + 0x10], xmm0
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x18], eax
lea ecx, [ebx + 0x1c]
push dword [esi + 4]
call fcn.00440500
mov eax, dword [edi + 0x28]
mov dword [ebx + 0x28], eax
mov dword [esi + 0x34], ebx
mov ecx, dword [esi + 4]
call fcn.0046d580
cmp byte [edi + 0x1b], 0
jns 0x413d33
mov eax, dword [esi + 8]
push dword [eax]
call fcn.00489982
add esp, 4
mov eax, dword [esi + 0x14]
cmp byte [eax + 0xb], 0
mov ebx, dword [esi + 0xc]
jns 0x413d49
push dword [eax]
call fcn.00489982
add esp, 4
mov esp, dword [esi]
mov eax, dword [ebx + 0x4c]
cmp eax, dword [ebx + 0x50]
jae 0x413d85
movsd xmm0, qword [esi + 0x34]
movsd qword [eax + 4], xmm0
mov ecx, dword [esi + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x40]
mov dword [eax + 0x10], ecx
cmp dword [ecx + 4], 0
je 0x413d7d
mov dword [esi + 0x40], 0x503d5c
mov dword [esi + 0x3c], 0x4b4ae0
add eax, 0x14
mov dword [ebx + 0x4c], eax
jmp 0x413d91
lea ecx, [ebx + 0x48]
lea eax, [esi + 0x30]
push eax
call fcn.004145a0
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 4]
test eax, eax
je 0x413da3
push dword [esi + 0x34]
call eax
add esp, 4
mov eax, dword [esi + 0x1c]
movzx eax, byte [eax + 0xb]
test al, al
jns 0x413db1
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x413dd0
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 0x103]
test al, al
jns 0x413dcc
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xfc]
test eax, eax
jne 0x413df2
mov eax, dword [ebx + 0x4c]
cmp eax, dword [ebx + 0x48]
setne bl
mov ecx, dword [esi + 0x98]
xor ecx, ebp
call fcn.0048a678
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
lea ebx, [eax + 0xf8]
xor eax, eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x28], eax
lea edi, [esi + 0x30]
mov ecx, edi
push str.pwexp
call fcn.004b43f0
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 0x20]
push eax
push edi
call fcn.00418e40
cmp byte [esi + 0x3b], 0
jns 0x413e33
push dword [esi + 0x30]
call fcn.00489982
add esp, 4
mov eax, esp
push eax
sub esp, 0x28
mov edi, esp
mov dword [edi], 0x414460
lea ecx, [edi + 4]
cmp byte [ebx + 0xb], 0
mov dword [esi + 4], eax
js 0x413e5d
mov eax, dword [ebx + 8]
mov dword [ecx + 8], eax
movsd xmm0, qword [ebx]
movsd qword [ecx], xmm0
jmp 0x413e75
mov ebx, ecx
mov eax, dword [ebp + 8]
push dword [eax + 0xfc]
push dword [eax + 0xf8]
call fcn.0046ba90
mov ecx, ebx
mov eax, dword [esi + 0xc]
lea ebx, [eax + 0x40]
lea eax, [edi + 0x10]
mov dword [esi + 0x10], eax
cmp byte [esi + 0x2b], 0
mov dword [esi], ecx
js 0x413e9d
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x10]
mov dword [ecx + 8], eax
movsd xmm0, qword [esi + 0x20]
movsd qword [ecx], xmm0
jmp 0x413eab
mov ecx, dword [esi + 0x10]
push dword [esi + 0x24]
push dword [esi + 0x20]
call fcn.0046ba90
mov ecx, edi
add ecx, 0x1c
mov dword [esi + 8], ecx
push dword [esi + 0x1c]
call fcn.004404c0
mov dword [edi + 0x28], ebx
mov dword [esi + 0x3c], 0x4147b0
mov dword [esi + 0x40], 0x503d9c
push 0x2c
call fcn.00489952
add esp, 4
mov ebx, eax
mov eax, dword [edi]
mov dword [ebx], eax
mov eax, dword [edi + 0xc]
mov dword [ebx + 0xc], eax
movsd xmm0, qword [edi + 4]
movsd qword [ebx + 4], xmm0
xor eax, eax
mov dword [edi + 8], eax
mov dword [edi + 4], eax
mov dword [edi + 0xc], eax
mov edx, dword [esi + 0x10]
mov ecx, dword [edx + 8]
mov dword [ebx + 0x18], ecx
movsd xmm0, qword [edx]
movsd qword [ebx + 0x10], xmm0
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x18], eax
lea ecx, [ebx + 0x1c]
push dword [esi + 8]
call fcn.00440500
mov eax, dword [edi + 0x28]
mov dword [ebx + 0x28], eax
mov dword [esi + 0x34], ebx
mov ecx, dword [esi + 8]
call fcn.0046d580
cmp byte [edi + 0x1b], 0
jns 0x413f41
mov eax, dword [esi + 0x10]
push dword [eax]
call fcn.00489982
add esp, 4
mov eax, dword [esi]
cmp byte [eax + 0xb], 0
mov ebx, dword [esi + 0xc]
jns 0x413f56
push dword [eax]
call fcn.00489982
add esp, 4
mov esp, dword [esi + 4]
mov eax, dword [ebx + 0x4c]
cmp eax, dword [ebx + 0x50]
jae 0x413f93
movsd xmm0, qword [esi + 0x34]
movsd qword [eax + 4], xmm0
mov ecx, dword [esi + 0x3c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esi + 0x40]
mov dword [eax + 0x10], ecx
cmp dword [ecx + 4], 0
je 0x413f8b
mov dword [esi + 0x40], 0x503d5c
mov dword [esi + 0x3c], 0x4b4ae0
add eax, 0x14
mov dword [ebx + 0x4c], eax
jmp 0x413f9f
lea ecx, [ebx + 0x48]
lea eax, [esi + 0x30]
push eax
call fcn.004145a0
mov eax, dword [esi + 0x40]
mov eax, dword [eax + 4]
test eax, eax
je 0x413fb1
push dword [esi + 0x34]
call eax
add esp, 4
cmp byte [esi + 0x2b], 0
jns 0x413dd0
push dword [esi + 0x20]
call fcn.00489982
add esp, 4
jmp 0x413dd0