Function at 0x45c595
Capabilities:
Contain obfuscated stackstrings
Encode data using base64
Enumerate pe sections
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push esi
and dword [ebp - 0xc], 0
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x45d17b
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xf8]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x45c5d3
jmp 0x45d23b
mov eax, dword [ebp - 0xf8]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0x4550
je 0x45c5f2
jmp 0x45d23b
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax + 0x78]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 4], 0
jne 0x45c610
jmp 0x45d23b
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x2c]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x2c]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 0x20], eax
and dword [ebp - 0xd4], 0
jmp 0x45c644
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x20]
add eax, 0x28
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
movzx eax, word [eax + 6]
cmp dword [ebp - 0xd4], eax
jge 0x45c6c0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x114]
jb 0x45c6bb
mov eax, dword [ebp - 0x2c]
push dword [eax + 0x38]
mov eax, dword [ebp - 0x20]
push dword [eax + 8]
call fcn.0045be89
pop ecx
pop ecx
add eax, dword [ebp - 0x114]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x138]
jae 0x45c6bb
lea eax, [ebp - 0x10]
push eax
push 0x4a0d
push 0x24c4
lea eax, [ebp - 0x20]
push eax
push 1
push 0x6bdb
call fcn.0045beb8
add esp, 0x18
jmp 0x45c6c0
jmp 0x45c62e
cmp dword [ebp - 0x10], 0
jne 0x45c6cb
jmp 0x45d23b
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax]
add ecx, dword [ebp - 0x14]
mov dword [ebp - 8], ecx
xor ecx, ecx
call fcn.00435711
push eax
call fcn.004a1a13
pop ecx
mov byte [ebp - 0xd0], 6
mov byte [ebp - 0xcf], 0x32
mov byte [ebp - 0xce], 8
mov byte [ebp - 0xcd], 0x33
mov byte [ebp - 0xcc], 1
mov byte [ebp - 0xcb], 0x3a
mov byte [ebp - 0xca], 2
mov byte [ebp - 0xc9], 0x3e
mov byte [ebp - 0xc8], 7
mov byte [ebp - 0xc7], 0x3f
mov byte [ebp - 0xc6], 0
mov byte [ebp - 0xc5], 0x3c
mov byte [ebp - 0xc4], 9
mov byte [ebp - 0xc3], 0x3d
mov byte [ebp - 0xc2], 0x1a
mov byte [ebp - 0xc1], 0x88
mov byte [ebp - 0xc0], 0x44
mov byte [ebp - 0xbf], 0xa7
mov byte [ebp - 0xbe], 0xe4
mov byte [ebp - 0xbd], 0x6d
mov byte [ebp - 0xbc], 0xc3
mov byte [ebp - 0xbb], 0xda
mov byte [ebp - 0xba], 0x7c
mov byte [ebp - 0xb9], 0x52
mov byte [ebp - 0xb8], 0x4a
mov byte [ebp - 0xb7], pe_nt_image_headers32
mov byte [ebp - 0xb6], 0xb0
mov byte [ebp - 0xb5], 0xde
mov byte [ebp - 0xb4], 0x72
mov byte [ebp - 0xb3], 0x51
mov byte [ebp - 0xb2], 0xf
mov byte [ebp - 0xb1], 0x32
mov byte [ebp - 0xb0], 0x65
mov byte [ebp - 0xaf], 0xeb
mov byte [ebp - 0xae], 0x28
mov byte [ebp - 0xad], 0x70
mov byte [ebp - 0xac], 0x4d
mov byte [ebp - 0xab], 0x85
mov byte [ebp - 0xaa], 0x9f
mov byte [ebp - 0xa9], 0x7e
mov byte [ebp - 0xa8], 5
mov byte [ebp - 0xa7], 0x40
mov byte [ebp - 0xa6], 3
mov byte [ebp - 0xa5], 0x48
mov byte [ebp - 0xa4], 4
mov byte [ebp - 0xa3], 0x4b
and dword [ebp - 0x1c], 0
and dword [ebp - 0x11c], 0
jmp 0x45c83e
mov eax, dword [ebp - 0x1c]
inc eax
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x2e
jae 0x45c8b5
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xd0]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x1c], eax
jne 0x45c870
mov dword [ebp - 0x11c], 0x1a
mov eax, dword [ebp - 0x1c]
add eax, 0x18
mov dword [ebp - 0x1c], eax
jmp 0x45c836
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0xcf]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x11c]
lea eax, [eax + ecx - 1]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jge 0x45c89e
mov eax, dword [ebp - 0x4c]
add eax, 0x100
mov dword [ebp - 0x4c], eax
jmp 0x45c88b
mov eax, dword [ebp - 0x1c]
movzx eax, byte [ebp + eax - 0xd0]
mov cl, byte [ebp - 0x4c]
mov byte [ebp + eax - 0x154], cl
jmp 0x45c836
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x154], 0
push 0xa
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x208]
call fcn.00425910
xor edx, edx
mov ecx, eax
call fcn.004356d1
pop ecx
mov dword [ebp - 0x140], eax
lea ecx, [ebp - 0x208]
call fcn.00415a34
and dword [ebp - 0x50], 0
jmp 0x45c8ff
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xb
jae 0x45c912
mov eax, dword [ebp - 0x50]
mov byte [ebp + eax - 0x154], 0
jmp 0x45c8f8
mov byte [ebp - 0xa0], 6
mov byte [ebp - 0x9f], 0x3a
mov byte [ebp - 0x9e], 1
mov byte [ebp - 0x9d], 0x39
mov byte [ebp - 0x9c], 8
mov byte [ebp - 0x9b], 0x35
mov byte [ebp - 0x9a], 0
mov byte [ebp - 0x99], 0x38
mov byte [ebp - 0x98], 5
mov byte [ebp - 0x97], 0x3a
mov byte [ebp - 0x96], 2
mov byte [ebp - 0x95], 0x42
mov byte [ebp - 0x94], 9
mov byte [ebp - 0x93], 0x3d
mov byte [ebp - 0x92], 0x16
mov byte [ebp - 0x91], 0x45
mov byte [ebp - 0x90], 0x96
mov byte [ebp - 0x8f], 0xe7
mov byte [ebp - 0x8e], 0x16
mov byte [ebp - 0x8d], 0x55
mov byte [ebp - 0x8c], 0xa1
mov byte [ebp - 0x8b], 0x52
mov byte [ebp - 0x8a], 0x75
mov byte [ebp - 0x89], 0x9d
mov byte [ebp - 0x88], 0xdf
mov byte [ebp - 0x87], 0x97
mov byte [ebp - 0x86], 0xe6
mov byte [ebp - 0x85], 0xca
mov byte [ebp - 0x84], 0x15
mov byte [ebp - 0x83], 0xfa
mov byte [ebp - 0x82], 0xec
mov byte [ebp - 0x81], 0x65
mov byte [ebp - 0x80], 0x7e
mov byte [ebp - 0x7f], 0x5b
mov byte [ebp - 0x7e], 0x3c
mov byte [ebp - 0x7d], 0x5f
mov byte [ebp - 0x7c], 3
mov byte [ebp - 0x7b], 0x41
mov byte [ebp - 0x7a], 4
mov byte [ebp - 0x79], 0x45
mov byte [ebp - 0x78], 7
mov byte [ebp - 0x77], 0x49
and dword [ebp - 0x28], 0
and dword [ebp - 0x124], 0
jmp 0x45ca2f
mov eax, dword [ebp - 0x28]
inc eax
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x2a
jae 0x45cac6
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0xa0]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x28], eax
jne 0x45ca7b
push 0x5988
lea eax, [ebp - 0x124]
push eax
push 0
call fcn.0045c46b
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
push 0x6e4
push 1
call fcn.0045bfa8
add esp, 0xc
jmp 0x45ca27
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0x9f]
sub eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x124]
lea eax, [eax + ecx - 1]
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0xf0]
push eax
push 1
call fcn.0045bfee
pop ecx
pop ecx
mov eax, dword [ebp - 0x28]
movzx eax, byte [ebp + eax - 0xa0]
mov cl, byte [ebp - 0xf0]
mov byte [ebp + eax - 0x160], cl
jmp 0x45ca27
xor eax, eax
inc eax
imul eax, eax, 0xa
mov byte [ebp + eax - 0x160], 0
push 0xa
lea eax, [ebp - 0x160]
push eax
lea ecx, [ebp - 0x220]
call fcn.00425910
xor edx, edx
mov ecx, eax
call fcn.004356d1
pop ecx
mov dword [ebp - 0x12c], eax
lea ecx, [ebp - 0x220]
call fcn.00415a34
and dword [ebp - 0x54], 0
jmp 0x45cb10
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xb
jae 0x45cb23
mov eax, dword [ebp - 0x54]
mov byte [ebp + eax - 0x160], 0
jmp 0x45cb09
push dword [ebp - 0x12c]
push dword [ebp - 0x140]
call fcn.0045a13c
pop ecx
pop ecx
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10c]
mov dword [eax + 8], ecx
push 0xf
push 5
call fcn.0045a13c
pop ecx
pop ecx
add eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
and dword [ebp - 0x40], 0
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
jbe 0x45cbc4
push 0x953
push 0x3084
push 0x467a
push 1
push 0xd1d
push 0x423
push 0x65ce
push 0x538f
push 0x35f0
push 0x793
push 0x232e
lea eax, [ebp - 0x40]
push eax
push 0x695b
push 0x6b94
lea eax, [ebp - 8]
push eax
push 0x2dfc
push 0x4bc
call fcn.0045c039
add esp, 0x44
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x1c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x14]
sub eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
and dword [ebp - 0x3c], 0
jmp 0x45cbe6
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x30]
jge 0x45cc56
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov eax, dword [eax + 0x14]
sub eax, dword [ecx + 0x18]
cmp dword [ebp - 0x3c], eax
jae 0x45cc19
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3c]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x118], eax
jmp 0x45cc39
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x10]
push eax
mov eax, dword [ebp - 0x20]
push dword [eax + 0x14]
call fcn.0045a13c
pop ecx
pop ecx
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x118]
mov dword [ecx + eax], edx
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
jmp 0x45cbdf
lea eax, [ebp - 8]
push eax
push 0x5130
push 0x4716
push 1
lea eax, [ebp - 0x40]
push eax
call fcn.0045c2a9
add esp, 0x14
push 0x7b3a
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x6092
push 0
push 0x71d1
call fcn.0045c3e7
add esp, 0x1c
and dword [ebp - 0xdc], 0
jmp 0x45ccad
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
cmp eax, dword [ebp - 0x30]
jge 0x45ccdf
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
and dword [ecx + eax], 0
push 1
push 0x7c20
push 0x7138
lea eax, [ebp - 4]
push eax
call fcn.0045c335
add esp, 0x10
jmp 0x45cca0
mov eax, dword [ebp - 0x30]
shl eax, 2
mov ecx, dword [ebp - 4]
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [eax + 0x20], ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
sub eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x18], eax
and dword [ebp - 0x58], 0
jmp 0x45cd0c
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x30]
jge 0x45cd46
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x58]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x14]
mov ax, word [esi + eax]
mov word [edx + ecx], ax
lea eax, [ebp - 4]
push eax
push 1
call fcn.0045c3ad
pop ecx
pop ecx
jmp 0x45cd05
lea eax, [ebp - 4]
push eax
push 0x3e61
push 0x6cdb
push 0x67b1
lea eax, [ebp - 0x30]
push eax
push 1
lea eax, [ebp - 8]
push eax
call fcn.0045c3e7
add esp, 0x1c
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x190]
call fcn.00425910
lea ecx, [ebp - 0x190]
call fcn.00416a9a
mov dword [ebp - 0xe8], eax
push dword [ebp - 0xe8]
mov eax, dword [ebp - 0xe8]
shr eax, 1
push eax
call fcn.0045a13c
pop ecx
pop ecx
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x74], 3
mov byte [ebp - 0x73], 0x6d
mov byte [ebp - 0x72], 2
mov byte [ebp - 0x71], 0x6f
mov byte [ebp - 0x70], 1
mov byte [ebp - 0x6f], 0x69
mov byte [ebp - 0x6e], 0
mov byte [ebp - 0x6d], 0x35
mov byte [ebp - 0x6c], 0xd
mov byte [ebp - 0x6b], 0xb2
mov byte [ebp - 0x6a], 3
mov byte [ebp - 0x69], 0x76
mov byte [ebp - 0x68], 0x1c
mov byte [ebp - 0x67], 0xa0
mov byte [ebp - 0x66], 0x61
mov byte [ebp - 0x65], 0x27
mov byte [ebp - 0x64], 0xe7
mov byte [ebp - 0x63], 0xde
mov byte [ebp - 0x62], 1
mov byte [ebp - 0x61], 0x71
mov byte [ebp - 0x60], 0xc5
and dword [ebp - 0x24], 0
and dword [ebp - 0x110], 0
jmp 0x45ce16
mov eax, dword [ebp - 0x24]
inc eax
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x15
jae 0x45ce8e
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x74]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x24], eax
jne 0x45ce4f
mov dword [ebp - 0x110], 0xd
lea eax, [ebp - 0x24]
push eax
push 0x118b
push 1
call fcn.0045c46b
add esp, 0xc
jmp 0x45ce0e
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x73]
sub eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x110]
lea eax, [eax + ecx - 1]
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jge 0x45ce7a
mov eax, dword [ebp - 0x48]
add eax, 0x100
mov dword [ebp - 0x48], eax
jmp 0x45ce67
mov eax, dword [ebp - 0x24]
movzx eax, byte [ebp + eax - 0x74]
mov cl, byte [ebp - 0x48]
mov byte [ebp + eax - 0xe4], cl
jmp 0x45ce0e
xor eax, eax
inc eax
shl eax, 2
mov byte [ebp + eax - 0xe4], 0
cmp dword [ebp - 0x34], 4
jle 0x45ceec
or dword [ebp - 0xc], 1
or dword [ebp - 0xc], 2
or dword [ebp - 0xc], 4
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x1d8]
call fcn.00425910
push eax
mov eax, dword [ebp - 0x34]
sub eax, 4
push eax
lea eax, [ebp - 0x1c0]
push eax
call fcn.0045adf2
pop ecx
pop ecx
mov edx, eax
lea ecx, [ebp - 0x238]
call fcn.0045dac5
pop ecx
mov dword [ebp - 0x100], eax
jmp 0x45cf07
or dword [ebp - 0xc], 8
push dword [ebp - 0x34]
lea eax, [ebp - 0x250]
push eax
call fcn.0045adf2
pop ecx
pop ecx
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x134], eax
push dword [ebp - 0x134]
lea ecx, [ebp - 0x178]
call fcn.004159c6
mov eax, dword [ebp - 0xc]
and eax, 8
je 0x45cf3b
and dword [ebp - 0xc], 0xfffffff7
lea ecx, [ebp - 0x250]
call fcn.00415a34
mov eax, dword [ebp - 0xc]
and eax, 4
je 0x45cf52
and dword [ebp - 0xc], 0xfffffffb
lea ecx, [ebp - 0x238]
call fcn.00415a34
mov eax, dword [ebp - 0xc]
and eax, 2
je 0x45cf69
and dword [ebp - 0xc], 0xfffffffd
lea ecx, [ebp - 0x1c0]
call fcn.00415a34
mov eax, dword [ebp - 0xc]
and eax, 1
je 0x45cf80
and dword [ebp - 0xc], 0xfffffffe
lea ecx, [ebp - 0x1d8]
call fcn.00415a34
and dword [ebp - 0x44], 0
jmp 0x45cf8d
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 5
jae 0x45cfa0
mov eax, dword [ebp - 0x44]
mov byte [ebp + eax - 0xe4], 0
jmp 0x45cf86
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax + 0xc], ecx
push 0
push dword [ebp - 0x34]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x178]
call fcn.0045d68e
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x34]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov byte [ecx + eax], 0
push 1
lea eax, [ebp - 4]
push eax
push 0x3ff1
call fcn.0045c4ad
add esp, 0xc
mov eax, dword [ebp - 8]
cmp dword [eax + 0x18], 0
jbe 0x45d04d
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 8]
xor edx, edx
div dword [ecx + 0x18]
cmp eax, 0xc
jbe 0x45d021
mov dword [ebp - 0x120], 0xc
jmp 0x45d03f
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
sub eax, ecx
mov ecx, dword [ebp - 8]
xor edx, edx
div dword [ecx + 0x18]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x108], eax
jmp 0x45d054
and dword [ebp - 0x108], 0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xec], eax
and dword [ebp - 0x5c], 0
jmp 0x45d06d
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x5c]
cmp ecx, dword [eax + 0x18]
jae 0x45d11a
push dword [ebp - 0xec]
mov eax, dword [ebp - 0xec]
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.0045a13c
pop ecx
pop ecx
mov dword [ebp - 0xd8], eax
push dword [ebp - 0xd8]
lea eax, [ebp - 0x1a8]
push eax
call fcn.0045adf2
pop ecx
pop ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add ecx, dword [eax + 0x20]
add ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x5c]
mov edx, dword [ebp - 4]
mov dword [ecx + eax*4], edx
push 0
push dword [ebp - 0xd8]
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1a8]
call fcn.0045d68e
push 1
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0045c4ef
add esp, 0xc
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov byte [ecx + eax], 0
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x1a8]
call fcn.00415a34
jmp 0x45d066
and dword [ebp - 0x38], 0
jmp 0x45d127
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
sub ecx, dword [eax]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
sub eax, ecx
cmp dword [ebp - 0x38], eax
jae 0x45d14e
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 4]
add eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x14]
mov byte [ecx + eax], 0
jmp 0x45d120
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
call fcn.0045c540
add esp, 0xc
lea ecx, [ebp - 0x178]
call fcn.00415a34
lea ecx, [ebp - 0x190]
call fcn.00415a34
jmp 0x45d23b
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x130], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x128]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x144]
mov dword [ebp - 0xfc], eax
mov ecx, dword [ebp - 0x104]
call fcn.00416a9a
mov ecx, dword [ebp - 0x13c]
cmp eax, dword [ecx]
je 0x45d23b
call fcn.004a19f2
mov esi, eax
mov ecx, dword [ebp - 0xfc]
call fcn.00416a9a
mov ecx, eax
mov eax, esi
xor edx, edx
div ecx
mov eax, dword [ebp - 0xf4]
mov dword [eax], edx
push 1
mov eax, dword [ebp - 0xf4]
push dword [eax]
lea eax, [ebp - 0x1f0]
push eax
mov ecx, dword [ebp - 0xfc]
call fcn.0045d6d3
push eax
mov ecx, dword [ebp - 0x104]
call fcn.00425944
lea ecx, [ebp - 0x1f0]
call fcn.00415a34
jmp 0x45d1cf
pop esi
mov esp, ebp
pop ebp
ret