Function at 0x421350
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x6c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
nop
mov esi, 0x446060
lea edi, [ebp - 0x4a]
lea ebx, [ebp - 0x4a]
mov ecx, 0x2d
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x446770]
test al, al
jne 0x4213b1
mov dword [esp], 0x446770
call fcn.004420b0
test eax, eax
je 0x4213b1
mov dword [esp], ebx
mov ecx, 0x449bc0
call fcn.0042f1b8
push edi
mov dword [esp], 0x442c2c
call fcn.00401400
mov dword [esp], 0x446770
call fcn.00442180
mov ecx, 0x449bc0
call fcn.0042f178
mov dword [esp + 0xc], 0xc0
mov dword [esp + 8], 0x10d57
mov dword [esp + 4], 0x168
mov dword [esp], 0x449bc0
call fcn.0042c220
nop
mov word [ebp - 0x4a], 0x31af
mov al, byte [0x446700]
test al, al
jne 0x421426
mov dword [esp], 0x446700
call fcn.004420b0
test eax, eax
je 0x421426
mov dword [esp], ebx
mov ecx, 0x4498e0
call fcn.0042f160
push esi
mov dword [esp], 0x442c30
call fcn.00401400
mov dword [esp], 0x446700
call fcn.00442180
mov ecx, 0x4498e0
call fcn.0042f120
mov dword [esp], 0x4498e0
call sub.msvcrt.dll_atoi
cmp eax, dword [0x44fb38]
jne 0x42144d
push eax
xor eax, eax
mov dword [0xc], eax
pop eax
mov esi, 0x446020
mov ecx, 0x32
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x446728]
test al, al
jne 0x42149a
mov dword [esp], 0x446728
call fcn.004420b0
test eax, eax
je 0x42149a
mov dword [esp], ebx
mov ecx, 0x4499e0
call fcn.0042f224
push ecx
mov dword [esp], 0x442c34
call fcn.00401400
mov dword [esp], 0x446728
call fcn.00442180
mov ecx, 0x4499e0
call fcn.0042f1e4
mov dword [esp + 0xc], 0x2fc
mov dword [esp + 8], 0x21daa
mov dword [esp + 4], 0x16a
mov dword [esp], 0x4499e0
call fcn.0042c220
cmp word [ebp - 0x5c], 0x5a4d
je 0x421639
nop
mov esi, 0x446060
mov ecx, 0x2d
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x446730]
test al, al
jne 0x421522
mov dword [esp], 0x446730
call fcn.004420b0
test eax, eax
je 0x421522
mov dword [esp], ebx
mov ecx, 0x449a20
call fcn.0042f1b8
push edx
mov dword [esp], 0x442c38
call fcn.00401400
mov dword [esp], 0x446730
call fcn.00442180
mov ecx, 0x449a20
call fcn.0042f178
mov dword [esp + 0xc], 0xc2
mov dword [esp + 8], 0x1132d
mov dword [esp + 4], 0x16c
mov dword [esp], 0x449a20
call fcn.0042c220
nop
mov word [ebp - 0x4a], 0x31af
mov al, byte [0x446738]
test al, al
jne 0x421597
mov dword [esp], 0x446738
call fcn.004420b0
test eax, eax
je 0x421597
mov dword [esp], ebx
mov ecx, 0x449a60
call fcn.0042f160
push eax
mov dword [esp], 0x442c3c
call fcn.00401400
mov dword [esp], 0x446738
call fcn.00442180
mov ecx, 0x449a60
call fcn.0042f120
mov dword [esp], 0x449a60
call sub.msvcrt.dll_atoi
cmp eax, dword [0x44fb38]
jne 0x4215be
push eax
xor eax, eax
mov dword [0xc], eax
pop eax
mov esi, 0x446020
mov ecx, 0x32
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x446740]
test al, al
jne 0x42160b
mov dword [esp], 0x446740
call fcn.004420b0
test eax, eax
je 0x42160b
mov dword [esp], ebx
mov ecx, 0x449a80
call fcn.0042f224
push eax
mov dword [esp], 0x442c40
call fcn.00401400
mov dword [esp], 0x446740
call fcn.00442180
mov ecx, 0x449a80
call fcn.0042f1e4
mov dword [esp + 0xc], 0x304
mov dword [esp + 8], 0x2295e
mov dword [esp + 4], 0x16e
mov dword [esp], 0x449a80
jmp 0x42190b
nop
mov esi, 0x446060
mov ecx, 0x2d
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x446748]
test al, al
jne 0x421687
mov dword [esp], 0x446748
call fcn.004420b0
test eax, eax
je 0x421687
mov dword [esp], ebx
mov ecx, 0x449ac0
call fcn.0042f1b8
push eax
mov dword [esp], 0x442c44
call fcn.00401400
mov dword [esp], 0x446748
call fcn.00442180
mov ecx, 0x449ac0
call fcn.0042f178
mov dword [esp + 0xc], 0xc5
mov dword [esp + 8], 0x11a84
mov dword [esp + 4], 0x170
mov dword [esp], 0x449ac0
call fcn.0042c220
nop
mov word [ebp - 0x4a], 0x31af
mov al, byte [0x446750]
test al, al
jne 0x4216fc
mov dword [esp], 0x446750
call fcn.004420b0
test eax, eax
je 0x4216fc
mov dword [esp], ebx
mov ecx, 0x449b00
call fcn.0042f160
push eax
mov dword [esp], 0x442c48
call fcn.00401400
mov dword [esp], 0x446750
call fcn.00442180
mov ecx, 0x449b00
call fcn.0042f120
mov dword [esp], 0x449b00
call sub.msvcrt.dll_atoi
cmp eax, dword [0x44fb38]
jne 0x421723
push eax
xor eax, eax
mov dword [0xc], eax
pop eax
mov esi, 0x446020
mov ecx, 0x32
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x446758]
test al, al
jne 0x421770
mov dword [esp], 0x446758
call fcn.004420b0
test eax, eax
je 0x421770
mov dword [esp], ebx
mov ecx, 0x449b20
call fcn.0042f224
push eax
mov dword [esp], 0x442c50
call fcn.00401400
mov dword [esp], 0x446758
call fcn.00442180
mov ecx, 0x449b20
call fcn.0042f1e4
mov dword [esp + 0xc], 0x310
mov dword [esp + 8], 0x23818
mov dword [esp + 4], 0x172
mov dword [esp], 0x449b20
call fcn.0042c220
cmp dword [ebp + 0xc], 0x4550
je 0x421917
nop
mov esi, 0x446060
mov ecx, 0x2d
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x446760]
test al, al
jne 0x4217f9
mov dword [esp], 0x446760
call fcn.004420b0
test eax, eax
je 0x4217f9
mov dword [esp], ebx
mov ecx, 0x449b60
call fcn.0042f1b8
push edi
mov dword [esp], 0x442c54
call fcn.00401400
mov dword [esp], 0x446760
call fcn.00442180
mov ecx, 0x449b60
call fcn.0042f178
mov dword [esp + 0xc], 0xc7
mov dword [esp + 8], 0x1207e
mov dword [esp + 4], 0x174
mov dword [esp], 0x449b60
call fcn.0042c220
nop
mov word [ebp - 0x4a], 0x31af
mov al, byte [0x446768]
test al, al
jne 0x42186e
mov dword [esp], 0x446768
call fcn.004420b0
test eax, eax
je 0x42186e
mov dword [esp], ebx
mov ecx, 0x449ba0
call fcn.0042f160
push esi
mov dword [esp], 0x442c58
call fcn.00401400
mov dword [esp], 0x446768
call fcn.00442180
mov ecx, 0x449ba0
call fcn.0042f120
mov dword [esp], 0x449ba0
call sub.msvcrt.dll_atoi
cmp eax, dword [0x44fb38]
jne 0x421895
push eax
xor eax, eax
mov dword [0xc], eax
pop eax
mov esi, 0x446020
mov ecx, 0x32
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x446708]
test al, al
jne 0x4218e2
mov dword [esp], 0x446708
call fcn.004420b0
test eax, eax
je 0x4218e2
mov dword [esp], ebx
mov ecx, 0x449900
call fcn.0042f224
push ebx
mov dword [esp], 0x442c5c
call fcn.00401400
mov dword [esp], 0x446708
call fcn.00442180
mov ecx, 0x449900
call fcn.0042f1e4
mov dword [esp + 0xc], 0x318
mov dword [esp + 8], 0x24414
mov dword [esp + 4], 0x176
mov dword [esp], 0x449900
call fcn.0042c220
mov al, 1
jmp 0x421a7e
nop
mov esi, 0x446060
mov ecx, 0x2d
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x446710]
test al, al
jne 0x421965
mov dword [esp], 0x446710
call fcn.004420b0
test eax, eax
je 0x421965
mov dword [esp], ebx
mov ecx, 0x449940
call fcn.0042f1b8
push ecx
mov dword [esp], 0x442c60
call fcn.00401400
mov dword [esp], 0x446710
call fcn.00442180
mov ecx, 0x449940
call fcn.0042f178
mov dword [esp + 0xc], 0xca
mov dword [esp + 8], 0x12801
mov dword [esp + 4], 0x178
mov dword [esp], 0x449940
call fcn.0042c220
nop
mov word [ebp - 0x4a], 0x31af
mov al, byte [0x446718]
test al, al
jne 0x4219da
mov dword [esp], 0x446718
call fcn.004420b0
test eax, eax
je 0x4219da
mov dword [esp], ebx
mov ecx, 0x449980
call fcn.0042f160
push edx
mov dword [esp], 0x442c64
call fcn.00401400
mov dword [esp], 0x446718
call fcn.00442180
mov ecx, 0x449980
call fcn.0042f120
mov dword [esp], 0x449980
call sub.msvcrt.dll_atoi
cmp eax, dword [0x44fb38]
jne 0x421a01
push eax
xor eax, eax
mov dword [0xc], eax
pop eax
mov esi, 0x446020
mov ecx, 0x32
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x446720]
test al, al
jne 0x421a4e
mov dword [esp], 0x446720
call fcn.004420b0
test eax, eax
je 0x421a4e
mov dword [esp], ebx
mov ecx, 0x4499a0
call fcn.0042f224
push eax
mov dword [esp], 0x442c68
call fcn.00401400
mov dword [esp], 0x446720
call fcn.00442180
mov ecx, 0x4499a0
call fcn.0042f1e4
mov dword [esp + 0xc], 0x324
mov dword [esp + 8], 0x25326
mov dword [esp + 4], 0x17a
mov dword [esp], 0x4499a0
call fcn.0042c220
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret