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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x16c
mov ebx, dword [esp + 0x184]
lea eax, [esp + 0x80]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [ebx + 0xc]
mov ebp, eax
test eax, eax
je 0x4043c0
mov eax, dword [esp + 0x188]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x180]
mov dword [esp], eax
call fcn.00403a90
add esp, 0x16c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0xd0]
mov dword [esp + 0xc], 0x11
mov dword [esp + 8], 0x20
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00407c20
mov ebp, eax
test eax, eax
jne 0x404396
cmp byte [esp + 0xd0], 0x37
jne 0x404700
cmp byte [esp + 0xd1], 0x7a
jne 0x404700
cmp byte [esp + 0xd2], 0xbc
jne 0x404700
cmp byte [esp + 0xd3], 0xaf
jne 0x404700
cmp byte [esp + 0xd4], 0x27
jne 0x404700
cmp byte [esp + 0xd5], 0x1c
jne 0x404700
movzx eax, byte [esp + 0xd6]
mov byte [esp + 0x62], al
test al, al
jne 0x4046f0
mov eax, dword [esp + 0xdc]
mov edx, dword [esp + 0xe0]
mov ebp, 3
mov edi, dword [esp + 0x180]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xe4]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0xe8]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xec]
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x80]
add eax, 0x20
mov dword [edi + 0x30], eax
adc edx, 0
lea eax, [esp + 0xdc]
mov dword [edi + 0x34], edx
mov dword [esp + 4], 0x14
mov dword [esp], eax
call fcn.00405d90
cmp eax, dword [esp + 0xd8]
jne 0x404396
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
test edi, edi
jne 0x404710
mov eax, dword [esp + 0x28]
xor ebp, ebp
mov dword [esp + 0x38], eax
test esi, esi
je 0x4043b0
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov edx, edi
mov eax, esi
add eax, dword [esp + 0x28]
adc edx, dword [esp + 0x2c]
mov edi, edx
cmp eax, dword [esp + 0x30]
sbb edi, dword [esp + 0x34]
jb 0x404700
add eax, 0x20
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
adc edx, 0
cmp eax, esi
mov eax, edx
sbb eax, edi
jb 0x404700
lea eax, [esp + 0x120]
mov dword [esp + 8], 2
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [ebx + 0xc]
mov ebp, eax
test eax, eax
jne 0x404396
mov ebp, dword [esp + 0x120]
mov eax, dword [esp + 0x124]
mov edx, esi
mov ecx, edi
add edx, dword [esp + 0x80]
adc ecx, dword [esp + 0x84]
mov edi, eax
cmp ebp, edx
sbb edi, ecx
jb 0x404720
mov esi, edx
mov edi, ecx
add esi, 0x20
adc edi, 0
mov dword [esp + 0x30], esi
cmp ebp, dword [esp + 0x30]
mov dword [esp + 0x34], edi
mov edi, eax
sbb edi, dword [esp + 0x34]
jb 0x404720
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
add esi, 0x20
adc edi, 0
add edx, esi
adc ecx, edi
cmp ebp, edx
sbb eax, ecx
jb 0x404720
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov dword [esp], ebx
mov dword [esp + 4], esi
mov dword [esp + 8], edi
call fcn.00407b80
mov ebp, eax
test eax, eax
jne 0x404396
mov eax, dword [esp + 0x18c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
lea eax, [esp + 0xa0]
mov dword [esp], eax
call fcn.00405bb0
test eax, eax
je 0x404710
mov eax, dword [esp + 0x38]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
call fcn.00407c90
mov ebp, eax
test eax, eax
je 0x40472a
mov eax, dword [esp + 0x18c]
mov dword [esp + 4], eax
lea eax, [esp + 0xa0]
mov dword [esp], eax
call fcn.00405c10
jmp 0x404396
mov eax, dword [esp + 0xa0]
lea ecx, [esp + 0x88]
lea edx, [esp + 0xac]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xac], eax
lea eax, [esp + 0xa8]
call fcn.00401660
test eax, eax
jne 0x40476f
mov eax, dword [esp + 0x88]
mov edx, eax
xor edx, 0x17
or edx, dword [esp + 0x8c]
je 0x4048d1
xor eax, 1
or eax, dword [esp + 0x8c]
je 0x404776
mov eax, dword [esp + 0x18c]
mov dword [esp + 4], eax
lea eax, [esp + 0xa0]
mov dword [esp], eax
call fcn.00405c10
lea esi, [esi]
lea edi, [edi]
mov ebp, 4
jmp 0x404396
mov ebp, 0x11
jmp 0x404396
mov ebp, 2
jmp 0x404396
mov ebp, 6
jmp 0x404396
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
call fcn.00405d90
cmp dword [esp + 0x40], eax
je 0x404665
mov eax, dword [esp + 0x18c]
mov ebp, 0x10
mov dword [esp + 4], eax
lea eax, [esp + 0xa0]
mov dword [esp], eax
call fcn.00405c10
jmp 0x404396
mov ebp, eax
jmp 0x404646
lea eax, [esp + 0x120]
mov dword [esp + 0x28], eax
mov esi, eax
mov dword [esp], esi
add esi, 8
call fcn.00405b90
lea eax, [esp + 0x160]
cmp eax, esi
jne 0x404783
lea ecx, [esp + 0x90]
lea edx, [esp + 0xac]
mov dword [esp + 0xc0], 0
lea eax, [esp + 0xa8]
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], 0
call fcn.00401660
mov ebp, eax
test eax, eax
jne 0x404877
mov eax, dword [esp + 0x90]
mov edx, eax
xor edx, 2
or edx, dword [esp + 0x94]
je 0x40583d
mov edx, eax
xor edx, 3
or edx, dword [esp + 0x94]
je 0x4056fb
mov dword [esp + 0x30], 0
mov edx, eax
xor edx, 4
or edx, dword [esp + 0x94]
je 0x405659
mov edx, dword [esp + 0x94]
mov edi, edx
or edi, eax
je 0x4055d0
xor eax, 5
mov ebp, 0x10
or eax, edx
je 0x404a35
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x18c]
mov dword [esp], ebx
add ebx, 8
mov dword [esp + 4], eax
call fcn.00405c10
lea eax, [esp + 0x160]
cmp eax, ebx
jne 0x40487b
test ebp, ebp
jne 0x404646
mov eax, dword [esp + 0x18c]
cmp dword [esp + 0xac], 0
mov dword [esp + 4], eax
lea eax, [esp + 0xa0]
mov dword [esp], eax
jne 0x404c90
call fcn.00405c10
jmp 0x4043b0
lea edi, [esp + 0xf0]
mov dword [esp], edi
call fcn.00405b90
mov eax, dword [esp + 0x18c]
mov ecx, edi
mov dword [esp + 0x120], 0
mov dword [esp + 0x124], 0
mov dword [esp + 0x10], eax
lea eax, [esp + 0x120]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0x128], 0
mov dword [esp + 0x12c], 0
mov edx, dword [eax + 0x34]
mov dword [esp + 0x130], 0
mov eax, dword [eax + 0x30]
mov dword [esp + 8], edx
lea edx, [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, ebx
mov dword [esp], 1
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
mov dword [esp + 0x13c], 0
mov dword [esp + 0x140], 0
mov dword [esp + 0x144], 0
mov dword [esp + 0x148], 0
call fcn.004037c0
mov edx, dword [esp + 0x18c]
mov ebp, eax
lea eax, [esp + 0x120]
call fcn.00401580
mov eax, dword [esp + 0x18c]
mov dword [esp + 4], eax
test ebp, ebp
je 0x4049cc
mov dword [esp], edi
call fcn.00405c10
jmp 0x404646
lea eax, [esp + 0xa0]
mov dword [esp], eax
call fcn.00405c10
mov edx, dword [esp + 0xf0]
mov eax, dword [esp + 0xf4]
lea ecx, [esp + 0x88]
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], edx
lea edx, [esp + 0xac]
mov dword [esp + 0xac], eax
lea eax, [esp + 0xa8]
call fcn.00401660
mov ebp, eax
mov eax, dword [esp + 0x88]
test ebp, ebp
je 0x4046bc
jmp 0x404646
lea edx, [esp + 0x78]
lea eax, [esp + 0xa8]
mov dword [esp + 0x78], 0
call fcn.00401ed0
mov ebp, eax
test eax, eax
jne 0x404877
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x180]
mov dword [esp + 0x64], 0
mov dword [esp + 0x5c], 0
mov dword [edi + 0x40], eax
mov dword [esp + 0x40], 0
lea ecx, [esp + 0x90]
lea edx, [esp + 0xac]
lea eax, [esp + 0xa8]
call fcn.00401660
test eax, eax
jne 0x404fbe
mov eax, dword [esp + 0x94]
or eax, dword [esp + 0x90]
je 0x404f4c
lea ecx, [esp + 0x98]
lea edx, [esp + 0xac]
lea eax, [esp + 0xa8]
call fcn.00401660
test eax, eax
jne 0x404fbe
mov esi, dword [esp + 0xac]
mov edx, dword [esp + 0x98]
xor ebx, ebx
mov edi, ebx
cmp esi, edx
sbb edi, dword [esp + 0x9c]
jb 0x404dd3
mov ecx, dword [esp + 0x90]
mov ebx, 0xff
cmp ebx, ecx
sbb eax, dword [esp + 0x94]
jb case.0x404b1d.16
sub ecx, 0xe
cmp ecx, 7
ja case.0x404b1d.16
jmp dword [ecx*4 + section..rdata]
mov eax, dword [esp + 0x180]
lea ebx, [eax + 0x54]
mov eax, dword [eax + 0x54]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x188]
mov dword [esp], eax
call dword [eax + 4]
mov eax, dword [esp + 0x180]
mov dword [eax + 0x54], 0
mov eax, dword [eax + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x188]
mov dword [esp], eax
call dword [eax + 4]
mov eax, dword [esp + 0x180]
mov ecx, dword [esp + 0x78]
lea edx, [esp + 0xac]
mov dword [eax + 0x58], 0
mov eax, dword [esp + 0x188]
mov dword [esp], ebx
mov dword [esp + 4], eax
lea eax, [esp + 0xa8]
call fcn.00401b00
test eax, eax
jne 0x404fbe
mov eax, dword [esp + 0xac]
test eax, eax
je 0x404dd3
sub eax, 1
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xa8]
lea edx, [eax + 1]
mov dword [esp + 0xa8], edx
cmp byte [eax], 0
je 0x404c9f
lea edx, [esp + 0x7c]
lea eax, [esp + 0xa8]
call fcn.00401ed0
test eax, eax
jne 0x404fbe
mov eax, dword [esp + 0x7c]
cmp eax, dword [esp + 0x30]
jae 0x404dd3
lea eax, [esp + eax*8 + 0x120]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0xf0], edx
mov dword [esp + 0xf4], eax
lea eax, [esp + 0xf0]
mov edi, dword [esp + 0x188]
mov ecx, ebx
mov dword [esp + 4], edi
mov edi, dword [esp + 0x180]
lea edx, [edi + 0x58]
mov dword [esp], edx
mov edx, dword [esp + 0x78]
call fcn.00401950
test eax, eax
je 0x404a7d
mov ebp, eax
mov ebx, dword [esp + 0x28]
jmp 0x40487b
mov esi, dword [esp + 0x188]
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x180]
mov dword [esp + 8], esi
lea esi, [esp + 0x120]
mov dword [esp + 4], edi
add eax, 0x5c
mov dword [esp], esi
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0xa8]
call fcn.00402170
test eax, eax
je 0x404a7d
jmp 0x404c44
call fcn.00405c10
mov ebp, 0xb
jmp 0x404396
lea eax, [esp + 0xa8]
jmp 0x404c19
mov edi, dword [esp + 0x188]
mov eax, dword [esp + 0x180]
mov esi, dword [esp + 0x30]
mov dword [esp + 8], edi
lea edi, [esp + 0x120]
add eax, 0x64
mov dword [esp + 4], esi
mov dword [esp], edi
jmp 0x404c76
test esi, esi
je 0x404dd3
mov eax, dword [esp + 0xa8]
sub esi, 1
mov dword [esp + 0xac], esi
lea edi, [eax + 1]
mov dword [esp + 0xa8], edi
movzx esi, byte [eax]
mov eax, esi
test al, al
jne 0x404ed5
lea ebx, [edx - 1]
test bl, 1
jne 0x404dd3
mov eax, dword [esp + 0x78]
lea eax, [eax*4 + 4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x188]
mov dword [esp], eax
call dword [eax]
mov ecx, dword [esp + 0x180]
mov dword [ecx + 0x74], eax
test eax, eax
je 0x404ec7
test ebx, ebx
je 0x447c20
mov eax, dword [esp + 0x188]
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [eax]
mov ecx, dword [esp + 0x180]
mov dword [ecx + 0x78], eax
test eax, eax
je 0x404ec7
mov dword [esp + 4], edi
mov dword [esp + 8], ebx
mov dword [esp], eax
call sub.msvcrt.dll_memcpy
mov eax, dword [esp + 0x180]
mov ecx, dword [esp + 0x78]
mov edx, dword [eax + 0x74]
mov edi, dword [eax + 0x78]
mov dword [edx], 0
test ecx, ecx
je 0x404dd3
cmp ebx, 1
je 0x404dd3
cmp byte [edi + ebx - 2], 0
jne 0x404dd3
cmp byte [edi + ebx - 1], 0
jne 0x404dd3
add edx, 4
xor eax, eax
add eax, edi
jmp 0x404db1
add eax, 2
cmp word [eax], 0
jne 0x404dae
sub eax, edi
add edx, 4
add eax, 2
mov ebp, eax
shr ebp, 1
mov dword [edx - 4], ebp
sub ecx, 1
je 0x404f12
cmp ebx, eax
jne 0x404daa
mov ebp, 0x10
mov ebx, dword [esp + 0x28]
jmp 0x40487b
mov eax, dword [esp + 0x40]
add eax, 7
shr eax, 3
cmp esi, eax
jb 0x404dd3
mov edi, dword [esp + 0xa8]
sub esi, eax
mov dword [esp + 0xac], esi
add eax, edi
mov dword [esp + 0x64], edi
mov dword [esp + 0xa8], eax
jmp 0x404a7d
mov edx, dword [esp + 0x78]
lea eax, [edx + 7]
shr eax, 3
cmp esi, eax
jb 0x404dd3
mov ebx, dword [esp + 0xa8]
sub esi, eax
mov dword [esp + 0x40], 0
xor ecx, ecx
mov dword [esp + 0xac], esi
xor esi, esi
add eax, ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0xa8], eax
jmp 0x404e6d
test ecx, ecx
jne 0x404e59
movzx esi, byte [ebx]
mov ecx, 8
add ebx, 1
mov eax, esi
sub ecx, 1
sub edx, 1
movzx eax, al
sar eax, cl
and eax, 1
add dword [esp + 0x40], eax
test edx, edx
jne 0x404e4a
mov dword [esp + 0x64], 0
jmp 0x404a7d
lea eax, [ebx + 7]
shr eax, 3
mov dword [esp + 4], eax
mov eax, dword [esp + 0x188]
mov dword [esp], eax
call dword [eax]
mov esi, dword [esp + 0x180]
mov dword [esi + 0x4c], eax
test eax, eax
je 0x404ec7
mov eax, dword [esp + 0x188]
shl ebx, 2
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [eax]
mov edi, dword [esp + 0x180]
mov dword [edi + 0x50], eax
test eax, eax
jne 0x405075
mov ebp, 2
mov ebx, dword [esp + 0x28]
jmp 0x40487b
lea edx, [esp + 0xf0]
lea eax, [esp + 0xa8]
call fcn.00401ed0
test eax, eax
jne 0x404fbe
mov eax, dword [esp + 0xf0]
cmp eax, dword [esp + 0x30]
jae 0x404dd3
lea eax, [esp + eax*8 + 0x120]
mov edi, dword [eax]
mov ebx, dword [eax + 4]
jmp 0x404d07
cmp ebx, eax
jne 0x404dd3
mov eax, esi
test al, al
jne 0x404a7d
sub dword [esp + 0xac], ebx
add dword [esp + 0xa8], ebx
jmp 0x404a7d
sub esi, edx
add dword [esp + 0xa8], edx
mov dword [esp + 0xac], esi
jmp 0x404a7d
mov eax, dword [esp + 0x78]
mov ebp, 0x10
sub eax, dword [esp + 0x40]
cmp eax, dword [esp + 0xb0]
jne 0x404877
lea eax, [esp + 0xf0]
mov dword [esp + 0x6c], eax
jmp 0x404fa3
mov edx, dword [esp + 0xf4]
mov eax, dword [esp + 0xf0]
mov edi, edx
mov dword [esp + 0x38], eax
or edi, eax
mov dword [esp + 0x3c], edx
je 0x404fc9
lea eax, [esp + 0xa8]
call fcn.00401c10
test eax, eax
jne 0x404c44
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0xac]
lea eax, [esp + 0xa8]
call fcn.00401660
test eax, eax
je 0x404f73
mov ebx, dword [esp + 0x28]
mov ebp, eax
jmp 0x40487b
mov eax, dword [esp + 0x180]
mov dword [esp + 0x98], 0
mov eax, dword [eax + 4]
lea eax, [eax*4 + 4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x188]
mov dword [esp], eax
call dword [eax]
mov esi, dword [esp + 0x180]
mov dword [esi + 0x6c], eax
test eax, eax
je 0x404ec7
mov ebx, dword [esi + 0x40]
test ebx, ebx
jne 0x40562c
mov dword [esi + 0x70], 0
lea eax, [ebx*8 + 8]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x188]
mov dword [esp], eax
call dword [eax]
mov esi, dword [esp + 0x180]
mov dword [esi + 0x44], eax
test eax, eax
je 0x404ec7
mov ebx, dword [esi + 0x40]
lea eax, [ebx + 7]
shr eax, 3
jne 0x405602
mov dword [esi + 0x48], 0
test ebx, ebx
jne 0x404e7e
mov eax, dword [esp + 0x180]
mov dword [eax + 0x4c], 0
mov dword [eax + 0x50], 0
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x4055a4
sub eax, 1
mov dword [esp + 0x54], 0
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xc8]
lea ecx, [eax + 1]
mov dword [esp + 0xc8], ecx
movzx eax, byte [eax]
mov dword [esp + 0x50], ecx
mov byte [esp + 0x63], al
test al, al
jne 0x4050cd
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x54], ecx
add eax, 7
shr eax, 3
add eax, ecx
mov dword [esp + 0x50], eax
xor ebx, ebx
mov byte [esp + 0x30], pe_nt_image_headers32
xor esi, esi
xor edi, edi
mov dword [esp + 0x58], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x68], 0
mov byte [esp + 0x40], bl
cmp edi, dword [esp + 0x78]
jae 0x4054f9
cmp byte [esp + 0x30], 0
jne 0x40513e
mov ecx, dword [esp + 0x180]
lea eax, [edi - 1]
mov byte [esp + 0x30], pe_nt_image_headers32
shr eax, 3
mov edx, dword [ecx + 0x48]
movzx ecx, byte [esp + 0x62]
mov byte [esp + 0x62], 0
mov byte [edx + eax], cl
mov ecx, dword [esp + 0x180]
mov edx, dword [ecx + 0x4c]
movzx ecx, byte [esp + 0x40]
mov byte [esp + 0x40], 0
mov byte [edx + eax], cl
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x180]
lea ebp, [edi*4]
mov ebx, dword [esp + 0x3c]
mov eax, dword [eax + 0x44]
mov dword [eax + edi*8], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + edi*8 + 4], ebx
mov eax, dword [esp + 0x180]
mov eax, dword [eax + 0x50]
mov dword [eax + edi*4], 0
test ecx, ecx
je 0x405412
mov eax, edi
shr eax, 3
movzx edx, byte [ecx + eax]
mov ecx, edi
mov eax, pe_nt_image_headers32
and ecx, 7
mov ebx, eax
sar ebx, cl
test edx, ebx
je 0x4053f9
mov ebx, dword [esp + 0x64]
test ebx, ebx
je 0x4053eb
mov ecx, dword [esp + 0x68]
mov edx, ecx
and ecx, 7
shr edx, 3
sar eax, cl
movzx edx, byte [ebx + edx]
test edx, eax
jne 0x4051c5
movzx eax, byte [esp + 0x30]
or byte [esp + 0x62], al
add dword [esp + 0x68], 1
mov ecx, dword [esp + 0x180]
mov eax, dword [ecx + 0x70]
add eax, ebp
cmp dword [esp + 0x44], 0
je 0x4053e0
mov dword [eax], esi
mov ecx, dword [esp + 0x5c]
mov eax, edi
shr eax, 3
movzx edx, byte [ecx + eax]
mov ecx, edi
mov eax, pe_nt_image_headers32
and ecx, 7
sar eax, cl
test edx, eax
jne 0x4052c2
sub dword [esp + 0x44], 1
jne 0x40534e
mov eax, dword [esp + 0x180]
mov ecx, dword [esp + 0x180]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
movzx eax, byte [eax + esi]
add eax, dword [edx + esi*4]
mov edx, dword [ecx + 0x24]
lea edx, [edx + eax*8]
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x48], eax
mov eax, ecx
mov ecx, dword [ecx + 0x6c]
mov eax, dword [eax + 0x44]
mov dword [esp + 0x4c], edx
mov ecx, dword [ecx + esi*4]
mov edx, dword [esp + 0x3c]
mov ebx, dword [eax + ecx*8 + 4]
mov ecx, dword [eax + ecx*8]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x38], ecx
sub eax, ecx
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x3c], ebx
sbb edx, ebx
mov ebx, dword [esp + 0x4c]
cmp ecx, eax
sbb ebx, edx
jb 0x404dd3
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x4c]
add ecx, eax
adc ebx, edx
cmp ecx, dword [esp + 0x48]
mov dword [esp + 0x38], ecx
mov eax, ebx
sbb eax, dword [esp + 0x4c]
mov dword [esp + 0x3c], ebx
jb 0x404dd3
cmp dword [esp + 0x98], 1
je 0x4052f8
cmp byte [esp + 0x63], 0
jne 0x4052ce
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4052bf
cmp byte [eax], 0
js 0x4052ce
add esi, 1
add edi, 1
shr byte [esp + 0x30], 1
jmp 0x4050f4
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
mov edx, dword [eax + ecx*4]
mov eax, dword [esp + 0x180]
add ecx, 1
mov dword [esp + 0x58], ecx
mov eax, dword [eax + 0x50]
mov dword [eax + ebp], edx
movzx eax, byte [esp + 0x30]
or byte [esp + 0x40], al
jmp 0x4052bf
mov eax, dword [esp + 0x180]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x4052ab
mov edx, edi
mov ecx, edi
shr edx, 3
and ecx, 7
movzx edx, byte [eax + edx]
mov eax, pe_nt_image_headers32
sar eax, cl
test edx, eax
je 0x4052ab
mov eax, dword [esp + 0x180]
lea ecx, [esi*4]
mov eax, dword [eax + 0x10]
mov edx, dword [eax + ecx]
mov eax, dword [esp + 0x180]
mov eax, dword [eax + 0x50]
mov dword [eax + ebp], edx
movzx eax, byte [esp + 0x30]
or byte [esp + 0x40], al
jmp 0x4052bf
mov ecx, dword [esp + 0x6c]
lea edx, [esp + 0xc4]
lea eax, [esp + 0xc0]
call fcn.00401660
test eax, eax
jne 0x404fbe
mov eax, dword [esp + 0xf0]
mov edx, dword [esp + 0xf4]
add dword [esp + 0x38], eax
mov ecx, dword [esp + 0x38]
adc dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x3c]
cmp ecx, eax
mov ecx, ebx
sbb ecx, edx
jb 0x404dd3
cmp byte [esp + 0x63], 0
jne 0x4053b3
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4052c2
cmp byte [eax], 0
jns 0x4052c2
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x50]
mov edx, dword [eax + ecx*4]
mov eax, dword [esp + 0x180]
add ecx, 1
mov dword [esp + 0x58], ecx
mov eax, dword [eax + 0x50]
mov dword [eax + ebp], edx
movzx eax, byte [esp + 0x30]
or byte [esp + 0x40], al
jmp 0x4052c2
mov dword [eax], 0xffffffff
jmp 0x4052c2
movzx eax, byte [esp + 0x30]
or byte [esp + 0x62], al
jmp 0x4051ca
cmp dword [esp + 0x44], 0
je 0x40542b
mov eax, dword [esp + 0x180]
mov eax, dword [eax + 0x70]
mov dword [eax + ebp], esi
jmp 0x4051e3
cmp dword [esp + 0x44], 0
je 0x40542b
mov eax, dword [esp + 0x180]
mov eax, dword [eax + 0x70]
mov dword [eax + ebp], esi
jmp 0x405204
mov dword [esp + 0x48], ebp
movzx ebp, byte [esp + 0x40]
jmp 0x4054a5
lea edx, [esp + 0x98]
lea eax, [esp + 0xb8]
call fcn.00401ed0
test eax, eax
jne 0x404fbe
mov eax, dword [esp + 0x98]
test eax, eax
jne 0x4055d7
mov eax, dword [esp + 0x180]
mov ecx, dword [esp + 0x180]
mov edx, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
movzx eax, byte [eax + esi]
add eax, dword [edx + ebx]
mov edx, dword [ecx + 0x24]
lea edx, [edx + eax*8]
mov eax, dword [edx]
mov edx, dword [edx + 4]
add dword [esp + 0x38], eax
mov ecx, dword [esp + 0x38]
adc dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x3c]
cmp ecx, eax
mov ecx, ebx
sbb ecx, edx
jb 0x404dd3
add esi, 1
mov eax, dword [esp + 0x180]
cmp dword [eax + 4], esi
jbe 0x404dd3
mov eax, dword [esp + 0x180]
cmp dword [esp + 0xb8], 0
lea ebx, [esi*4]
mov eax, dword [eax + 0x6c]
mov dword [eax + esi*4], edi
mov dword [esp + 0x98], 1
jne 0x405436
mov eax, ebp
mov dword [esp + 0x44], 1
mov ebp, dword [esp + 0x48]
mov byte [esp + 0x40], al
jmp 0x4055e5
cmp byte [esp + 0x30], 0x80
movzx ebx, byte [esp + 0x40]
je 0x40552a
mov ecx, dword [esp + 0x180]
lea eax, [edi - 1]
shr eax, 3
mov edx, dword [ecx + 0x48]
movzx ecx, byte [esp + 0x62]
mov byte [edx + eax], cl
mov ecx, dword [esp + 0x180]
mov edx, dword [ecx + 0x4c]
mov byte [edx + eax], bl
mov eax, dword [esp + 0x180]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
cmp dword [esp + 0x44], 0
mov eax, dword [eax + 0x44]
mov dword [eax + edi*8], ecx
mov dword [eax + edi*8 + 4], ebx
jne 0x404dd3
mov eax, dword [esp + 0x180]
mov ecx, dword [esp + 0x180]
mov eax, dword [eax + 0x6c]
mov dword [eax + esi*4], edi
mov eax, dword [esp + 0xb8]
cmp esi, dword [ecx + 4]
jae 0x4055be
test eax, eax
je 0x404dd3
lea edx, [esp + 0x98]
lea eax, [esp + 0xb8]
call fcn.00401ed0
test eax, eax
jne 0x404fbe
cmp dword [esp + 0x98], 0
jne 0x404dd3
add esi, 1
jmp 0x40554e
mov byte [esp + 0x63], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
jmp 0x4050cd
test eax, eax
je 0x4055d0
cmp dword [esp + 0xbc], 0
jne 0x404dd3
xor ebp, ebp
jmp 0x404877
mov dword [esp + 0x44], eax
mov eax, ebp
mov ebp, dword [esp + 0x48]
mov byte [esp + 0x40], al
mov eax, dword [esp + 0x180]
cmp dword [esp + 0x5c], 0
mov eax, dword [eax + 0x70]
mov dword [eax + ebp], esi
jne 0x4051e3
jmp 0x405204
mov dword [esp + 4], eax
mov eax, dword [esp + 0x188]
mov dword [esp], eax
call dword [eax]
mov edi, dword [esp + 0x180]
mov dword [edi + 0x48], eax
test eax, eax
je 0x404ec7
mov ebx, dword [edi + 0x40]
jmp 0x405058
mov eax, dword [esp + 0x188]
shl ebx, 2
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [eax]
mov edi, dword [esp + 0x180]
mov dword [edi + 0x70], eax
test eax, eax
je 0x404ec7
mov ebx, dword [edi + 0x40]
jmp 0x405019
mov eax, dword [esp + 0x188]
mov ecx, 0x40000000
lea edx, [esp + 0xa8]
mov dword [esp + 0x10], eax
lea eax, [esp + 0xb0]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x180]
add eax, 0x38
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
lea eax, [esp + 0x120]
mov dword [esp], eax
mov eax, dword [esp + 0x180]
call fcn.00402380
mov ebp, eax
test eax, eax
jne 0x404877
mov eax, dword [esp + 0x180]
mov edi, dword [esp + 0x180]
lea ecx, [esp + 0x90]
mov edx, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
add dword [edi + 0x38], eax
lea eax, [esp + 0xa8]
adc dword [edi + 0x3c], edx
lea edx, [esp + 0xac]
call fcn.00401660
mov ebp, eax
test eax, eax
jne 0x404877
mov eax, dword [esp + 0x90]
jmp 0x404856
mov eax, dword [esp + 0x18c]
lea edi, [esp + 0xf0]
lea ecx, [esp + 0x120]
mov dword [esp + 0xf0], 0
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x180]
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov edx, dword [eax + 0x34]
mov dword [esp + 0xfc], 0
mov eax, dword [eax + 0x30]
mov dword [esp + 8], edx
lea edx, [esp + 0xa8]
mov dword [esp + 4], eax
mov eax, ebx
mov dword [esp], 8
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
mov dword [esp + 0x118], 0
call fcn.004037c0
mov edx, dword [esp + 0x18c]
mov ebp, eax
mov eax, dword [esp + 0xf4]
mov dword [esp + 0x30], eax
mov eax, edi
call fcn.00401580
test ebp, ebp
jne 0x404877
lea ecx, [esp + 0x90]
lea edx, [esp + 0xac]
lea eax, [esp + 0xa8]
call fcn.00401660
mov ebp, eax
test eax, eax
jne 0x404877
mov eax, dword [esp + 0x90]
jmp 0x404844
mov eax, dword [esp + 0xac]
mov edx, dword [esp + 0xf0]
xor edi, edi
cmp eax, edx
sbb edi, dword [esp + 0xf4]
jb 0x404dd3
sub eax, edx
add dword [esp + 0xa8], edx
mov dword [esp + 0xac], eax
lea ecx, [esp + 0x98]
lea edx, [esp + 0xac]
lea eax, [esp + 0xa8]
call fcn.00401660
test eax, eax
jne 0x404fbe
mov eax, dword [esp + 0x9c]
or eax, dword [esp + 0x98]
je 0x405892
lea ecx, [esp + 0xf0]
lea edx, [esp + 0xac]
lea eax, [esp + 0xa8]
call fcn.00401660
test eax, eax
je 0x40580e
jmp 0x404fbe
lea ecx, [esp + 0x90]
lea edx, [esp + 0xac]
lea eax, [esp + 0xa8]
call fcn.00401660
mov ebp, eax
test eax, eax
jne 0x404877
mov eax, dword [esp + 0x90]
jmp 0x40482a
mov eax, dword [0x74]
ud2