Function at 0x407300
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2208
call fcn.0042e200
lea ecx, [ebp - 0x1c]
call fcn.00401310
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
je 0x407335
mov edx, dword [ebp + 0xc]
movzx eax, word [edx]
cmp eax, 0x20
ja 0x407335
mov ecx, dword [ebp + 0xc]
add ecx, 2
mov dword [ebp + 0xc], ecx
jmp 0x407315
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00406150
add esp, 8
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 8]
call fcn.00402a50
lea ecx, [ebp - 4]
call fcn.00402a50
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 8]
call fcn.00418560
movzx edx, al
test edx, edx
je 0x407385
push 1
lea ecx, [ebp - 0x1c]
call fcn.004013a0
push eax
lea ecx, [ebp - 4]
call fcn.004184a0
movzx eax, al
test eax, eax
jne 0x4073a9
mov byte [ebp - 0x38], 0
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x38]
jmp 0x407eef
lea ecx, [ebp - 0xc]
push ecx
push 0x40
lea edx, [ebp - 0x108]
push edx
lea ecx, [ebp - 8]
call fcn.004186c0
movzx eax, al
test eax, eax
je 0x4073cb
cmp dword [ebp - 0xc], 0x40
je 0x4073ef
mov byte [ebp - 0x39], 0
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x39]
jmp 0x407eef
movzx ecx, word [ebp - 0x108]
cmp ecx, 0x5a4d
je 0x407422
mov byte [ebp - 0x3a], 0
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x3a]
jmp 0x407eef
lea edx, [ebp - 0xc]
push edx
push 0x40
lea eax, [ebp - 0x108]
push eax
lea ecx, [ebp - 4]
call fcn.00418910
movzx ecx, al
test ecx, ecx
je 0x407444
cmp dword [ebp - 0xc], 0x40
je 0x407468
mov byte [ebp - 0x3b], 0
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x3b]
jmp 0x407eef
cmp dword [ebp - 0xcc], 0x40
jae 0x407495
mov byte [ebp - 0x41], 0
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x41]
jmp 0x407eef
mov dword [ebp - 0x10], 0x40
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0xcc]
jge 0x407569
mov eax, dword [ebp - 0xcc]
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x2000
jbe 0x4074c7
mov dword [ebp - 0x58], 0x2000
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x58]
push edx
lea eax, [ebp - 0x2208]
push eax
lea ecx, [ebp - 8]
call fcn.004186c0
movzx ecx, al
test ecx, ecx
je 0x4074ed
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x58]
je 0x407511
mov byte [ebp - 0x1d], 0
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x1d]
jmp 0x407eef
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x2208]
push edx
lea ecx, [ebp - 4]
call fcn.00418910
movzx eax, al
test eax, eax
je 0x407537
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x58]
je 0x40755b
mov byte [ebp - 0x1e], 0
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x1e]
jmp 0x407eef
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
jmp 0x40749c
push 0x431518
mov eax, dword [ebp + 0xc]
push eax
call fcn.00408260
add esp, 8
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
je 0x407700
lea ecx, [ebp - 0x90]
call fcn.00401310
mov ecx, dword [ebp - 0x48]
movzx edx, word [ecx]
test edx, edx
je 0x4075b2
mov eax, dword [ebp - 0x48]
movzx ecx, word [eax]
cmp ecx, 0x20
ja 0x4075b2
mov edx, dword [ebp - 0x48]
add edx, 2
mov dword [ebp - 0x48], edx
jmp 0x407592
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00406150
add esp, 8
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 0x4c]
call fcn.00402a50
lea ecx, [ebp - 0x90]
call fcn.004013a0
push eax
lea ecx, [ebp - 0x4c]
call fcn.00418560
movzx edx, al
test edx, edx
jne 0x407622
mov byte [ebp - 0x1f], 0
lea ecx, [ebp - 0x4c]
call fcn.00402c40
lea ecx, [ebp - 0x90]
call fcn.00401880
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x1f]
jmp 0x407eef
lea eax, [ebp - 0x6c]
push eax
push 0x2000
lea ecx, [ebp - 0x2208]
push ecx
lea ecx, [ebp - 0x4c]
call fcn.004186c0
movzx edx, al
test edx, edx
jne 0x407678
mov byte [ebp - 0x20], 0
lea ecx, [ebp - 0x4c]
call fcn.00402c40
lea ecx, [ebp - 0x90]
call fcn.00401880
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x20]
jmp 0x407eef
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x2208]
push edx
lea ecx, [ebp - 4]
call fcn.00418910
movzx eax, al
test eax, eax
je 0x40769e
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x6c]
je 0x4076d5
mov byte [ebp - 0x21], 0
lea ecx, [ebp - 0x4c]
call fcn.00402c40
lea ecx, [ebp - 0x90]
call fcn.00401880
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x21]
jmp 0x407eef
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0xc], 0
jne 0x407622
lea ecx, [ebp - 0x4c]
call fcn.00402c40
lea ecx, [ebp - 0x90]
call fcn.00401880
jmp 0x407569
lea eax, [ebp - 0xc]
push eax
push pe_nt_image_headers32
lea ecx, [ebp - 0x208]
push ecx
lea ecx, [ebp - 8]
call fcn.004186c0
movzx edx, al
test edx, edx
je 0x407728
cmp dword [ebp - 0xc], 0xf8
je 0x40774c
mov byte [ebp - 0x22], 0
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x22]
jmp 0x407eef
cmp dword [ebp - 0x208], 0x4550
je 0x40777c
mov byte [ebp - 0x23], 0
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x23]
jmp 0x407eef
movzx eax, word [ebp - 0x1f4]
cmp eax, 0xe0
je 0x4077ae
mov byte [ebp - 0x24], 0
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x24]
jmp 0x407eef
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0xcc]
mov edx, dword [ebp - 0x1cc]
sub edx, 1
and ecx, edx
mov dword [ebp - 0x70], ecx
je 0x40783b
mov eax, dword [ebp - 0x1cc]
sub eax, dword [ebp - 0x70]
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
push ecx
push 0
lea edx, [ebp - 0x2208]
push edx
call fcn.0042b2e0
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
lea edx, [ebp - 0x2208]
push edx
lea ecx, [ebp - 4]
call fcn.00418910
movzx eax, al
test eax, eax
je 0x40780e
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x60]
je 0x407832
mov byte [ebp - 0x25], 0
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x25]
jmp 0x407eef
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xcc]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x1b4]
add ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x1b4], ecx
mov edx, dword [ebp - 0x1b4]
cmp edx, dword [ebp - 0x1d0]
jbe 0x407888
mov byte [ebp - 0x26], 0
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x26]
jmp 0x407eef
mov dword [ebp - 0x1b0], 0
lea eax, [ebp - 0xc]
push eax
push pe_nt_image_headers32
lea ecx, [ebp - 0x208]
push ecx
lea ecx, [ebp - 4]
call fcn.00418910
movzx edx, al
test edx, edx
je 0x4078ba
cmp dword [ebp - 0xc], 0xf8
je 0x4078de
mov byte [ebp - 0x27], 0
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x27]
jmp 0x407eef
mov dword [ebp - 0x64], 0
jmp 0x4078f0
mov eax, dword [ebp - 0x64]
add eax, 1
mov dword [ebp - 0x64], eax
movzx ecx, word [ebp - 0x202]
cmp dword [ebp - 0x64], ecx
jge 0x4079d9
lea edx, [ebp - 0xc]
push edx
push 0x28
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 8]
call fcn.004186c0
movzx ecx, al
test ecx, ecx
je 0x407922
cmp dword [ebp - 0xc], 0x28
je 0x407946
mov byte [ebp - 0x28], 0
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x28]
jmp 0x407eef
cmp dword [ebp - 0xb4], 0
je 0x40795e
mov edx, dword [ebp - 0xb4]
add edx, dword [ebp - 0x5c]
mov dword [ebp - 0xb4], edx
cmp dword [ebp - 0xb0], 0
je 0x407976
mov eax, dword [ebp - 0xb0]
add eax, dword [ebp - 0x5c]
mov dword [ebp - 0xb0], eax
cmp dword [ebp - 0xac], 0
je 0x40798e
mov ecx, dword [ebp - 0xac]
add ecx, dword [ebp - 0x5c]
mov dword [ebp - 0xac], ecx
lea edx, [ebp - 0xc]
push edx
push 0x28
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 4]
call fcn.00418910
movzx ecx, al
test ecx, ecx
je 0x4079b0
cmp dword [ebp - 0xc], 0x28
je 0x4079d4
mov byte [ebp - 0x29], 0
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x29]
jmp 0x407eef
jmp 0x4078e7
lea edx, [ebp - 0x74]
push edx
push 0x2000
lea eax, [ebp - 0x2208]
push eax
lea ecx, [ebp - 8]
call fcn.004186c0
movzx ecx, al
test ecx, ecx
jne 0x407a1c
mov byte [ebp - 0x2a], 0
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x2a]
jmp 0x407eef
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x74]
push eax
lea ecx, [ebp - 0x2208]
push ecx
lea ecx, [ebp - 4]
call fcn.00418910
movzx edx, al
test edx, edx
je 0x407a42
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x74]
je 0x407a66
mov byte [ebp - 0x2b], 0
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x2b]
jmp 0x407eef
cmp dword [ebp - 0xc], 0
jne 0x4079d9
mov ecx, dword [ebp - 0xcc]
cmp ecx, dword [ebp - 0x10]
je 0x407b01
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0xcc], edx
lea ecx, [ebp - 4]
call fcn.00418810
movzx eax, al
test eax, eax
jne 0x407abb
mov byte [ebp - 0x2c], 0
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x2c]
jmp 0x407eef
lea ecx, [ebp - 0xc]
push ecx
push 0x40
lea edx, [ebp - 0x108]
push edx
lea ecx, [ebp - 4]
call fcn.00418910
movzx eax, al
test eax, eax
je 0x407add
cmp dword [ebp - 0xc], 0x40
je 0x407b01
mov byte [ebp - 0x2d], 0
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x2d]
jmp 0x407eef
lea ecx, [ebp - 4]
call fcn.00418400
movzx ecx, al
test ecx, ecx
jne 0x407b34
mov byte [ebp - 0x2e], 0
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x2e]
jmp 0x407eef
push str.sfxmanifest
mov edx, dword [ebp + 0xc]
push edx
call fcn.00408260
add esp, 8
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x407d21
lea ecx, [ebp - 0x84]
call fcn.00401310
mov eax, dword [ebp - 0x50]
movzx ecx, word [eax]
test ecx, ecx
je 0x407b7d
mov edx, dword [ebp - 0x50]
movzx eax, word [edx]
cmp eax, 0x20
ja 0x407b7d
mov ecx, dword [ebp - 0x50]
add ecx, 2
mov dword [ebp - 0x50], ecx
jmp 0x407b5d
lea edx, [ebp - 0x84]
push edx
mov eax, dword [ebp - 0x50]
push eax
call fcn.00406150
add esp, 8
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 0x40]
call fcn.00402a50
lea ecx, [ebp - 0x84]
call fcn.004013a0
push eax
lea ecx, [ebp - 0x40]
call fcn.00418560
movzx ecx, al
test ecx, ecx
jne 0x407bed
mov byte [ebp - 0x2f], 0
lea ecx, [ebp - 0x40]
call fcn.00402c40
lea ecx, [ebp - 0x84]
call fcn.00401880
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x2f]
jmp 0x407eef
lea edx, [ebp - 0xc]
push edx
push 0x2000
lea eax, [ebp - 0x2208]
push eax
lea ecx, [ebp - 0x40]
call fcn.004186c0
movzx ecx, al
test ecx, ecx
je 0x407c15
cmp dword [ebp - 0xc], 0x2000
jne 0x407c4c
mov byte [ebp - 0x30], 0
lea ecx, [ebp - 0x40]
call fcn.00402c40
lea ecx, [ebp - 0x84]
call fcn.00401880
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x30]
jmp 0x407eef
push 0
lea ecx, [ebp - 0x1c]
call fcn.004013a0
push eax
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x407c9d
mov byte [ebp - 0x31], 0
lea ecx, [ebp - 0x40]
call fcn.00402c40
lea ecx, [ebp - 0x84]
call fcn.00401880
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x31]
jmp 0x407eef
mov edx, dword [ebp - 0xc]
push edx
lea eax, [ebp - 0x2208]
push eax
push 0
push 1
push 0x18
mov ecx, dword [ebp - 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_UpdateResourceW]
mov dword [ebp - 0xa0], eax
push 0
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceW]
test eax, eax
je 0x407cd7
cmp dword [ebp - 0xa0], 0
jne 0x407d0e
mov byte [ebp - 0x32], 0
lea ecx, [ebp - 0x40]
call fcn.00402c40
lea ecx, [ebp - 0x84]
call fcn.00401880
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x32]
jmp 0x407eef
lea ecx, [ebp - 0x40]
call fcn.00402c40
lea ecx, [ebp - 0x84]
call fcn.00401880
push 3
lea ecx, [ebp - 0x1c]
call fcn.004013a0
push eax
lea ecx, [ebp - 4]
call fcn.004185c0
movzx eax, al
test eax, eax
je 0x407d51
lea ecx, [ebp - 0x110]
push ecx
lea ecx, [ebp - 4]
call fcn.00418830
movzx edx, al
test edx, edx
jne 0x407d75
mov byte [ebp - 0x33], 0
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x33]
jmp 0x407eef
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
je 0x407ed0
lea ecx, [ebp - 0x9c]
call fcn.00401310
lea edx, [ebp - 0x9c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00406150
add esp, 8
mov dword [ebp + 0xc], eax
lea ecx, [ebp - 0x54]
call fcn.00402a50
lea ecx, [ebp - 0x9c]
call fcn.004013a0
push eax
lea ecx, [ebp - 0x54]
call fcn.00418560
movzx ecx, al
test ecx, ecx
jne 0x407dfe
mov byte [ebp - 0x34], 0
lea ecx, [ebp - 0x54]
call fcn.00402c40
lea ecx, [ebp - 0x9c]
call fcn.00401880
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x34]
jmp 0x407eef
lea edx, [ebp - 0x78]
push edx
push 0x2000
lea eax, [ebp - 0x2208]
push eax
lea ecx, [ebp - 0x54]
call fcn.004186c0
movzx ecx, al
test ecx, ecx
jne 0x407e54
mov byte [ebp - 0x35], 0
lea ecx, [ebp - 0x54]
call fcn.00402c40
lea ecx, [ebp - 0x9c]
call fcn.00401880
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x35]
jmp 0x407eef
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x78]
push eax
lea ecx, [ebp - 0x2208]
push ecx
lea ecx, [ebp - 4]
call fcn.00418910
movzx edx, al
test edx, edx
je 0x407e7a
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x78]
je 0x407eae
mov byte [ebp - 0x36], 0
lea ecx, [ebp - 0x54]
call fcn.00402c40
lea ecx, [ebp - 0x9c]
call fcn.00401880
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x36]
jmp 0x407eef
cmp dword [ebp - 0xc], 0
jne 0x407dfe
lea ecx, [ebp - 0x54]
call fcn.00402c40
lea ecx, [ebp - 0x9c]
call fcn.00401880
jmp 0x407d75
mov byte [ebp - 0x37], 1
lea ecx, [ebp - 4]
call fcn.00402c40
lea ecx, [ebp - 8]
call fcn.00402c40
lea ecx, [ebp - 0x1c]
call fcn.00401880
mov al, byte [ebp - 0x37]
mov esp, ebp
pop ebp
ret