Function at 0x422478
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x7c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
nop
mov esi, 0x44b020
lea edi, [ebp - 0x51]
lea ebx, [ebp - 0x51]
mov ecx, 0x2d
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x476e90]
test al, al
jne 0x4224d9
mov dword [esp], 0x476e90
call fcn.00446df0
test eax, eax
je 0x4224d9
mov dword [esp], ebx
mov ecx, 0x47a840
call fcn.004311c8
push edi
mov dword [esp], 0x4478d8
call fcn.00401400
mov dword [esp], 0x476e90
call fcn.00446ec0
mov ecx, 0x47a840
call fcn.00431188
mov dword [esp + 0x10], 0x1ad8bec
mov dword [esp + 0x14], 0xef791
mov dword [esp + 8], 0xb1d2ebdc
mov dword [esp + 0xc], 0x5ba25a
mov dword [esp + 4], 0xde20e270
mov dword [esp], 0x47a840
call fcn.0042dc44
nop
mov esi, 0x44b060
mov ecx, 0x39
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x476e20]
test al, al
jne 0x422566
mov dword [esp], 0x476e20
call fcn.00446df0
test eax, eax
je 0x422566
mov dword [esp], ebx
mov ecx, 0x47a580
call fcn.004312a0
push esi
mov dword [esp], 0x4478dc
call fcn.00401400
mov dword [esp], 0x476e20
call fcn.00446ec0
mov ecx, 0x47a580
call fcn.00431260
mov dword [esp + 0x14], 0xce61c1b
mov dword [esp + 0x18], 0x154e428
mov dword [esp + 0xc], 0x10000ba8
mov dword [esp + 0x10], 0xb615
mov dword [esp + 4], 0x3e254594
mov dword [esp + 8], 0x1593
mov dword [esp], 0x47a580
call fcn.0042dc44
mov word [ebp - 0x51], 0x31af
mov al, byte [0x476e48]
test al, al
jne 0x4225f1
mov dword [esp], 0x476e48
call fcn.00446df0
test eax, eax
je 0x4225f1
mov dword [esp], ebx
mov ecx, 0x47a664
call fcn.00431170
push ecx
mov dword [esp], 0x4478e0
call fcn.00401400
mov dword [esp], 0x476e48
call fcn.00446ec0
mov ecx, 0x47a664
call fcn.00431130
mov dword [esp], 0x47a664
call sub.msvcrt.dll_atoi
cmp eax, dword [0x4819b8]
jne 0x422618
push eax
xor eax, eax
mov dword [0xc], eax
pop eax
cmp word [ebp - 0x5c], 0x5a4d
je 0x4227a0
nop
mov esi, 0x44b020
mov ecx, 0x2d
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x476e50]
test al, al
jne 0x422672
mov dword [esp], 0x476e50
call fcn.00446df0
test eax, eax
je 0x422672
mov dword [esp], ebx
mov ecx, 0x47a680
call fcn.004311c8
push edx
mov dword [esp], 0x4478e4
call fcn.00401400
mov dword [esp], 0x476e50
call fcn.00446ec0
mov ecx, 0x47a680
call fcn.00431188
mov dword [esp + 0x10], 0x1ad8bee
mov dword [esp + 0x14], 0xef791
mov dword [esp + 8], 0x7dcbe9e4
mov dword [esp + 0xc], 0x5dbe79
mov dword [esp + 4], 0xf2926218
mov dword [esp], 0x47a680
call fcn.0042dc44
nop
mov esi, 0x44b060
mov ecx, 0x39
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x476e58]
test al, al
jne 0x4226ff
mov dword [esp], 0x476e58
call fcn.00446df0
test eax, eax
je 0x4226ff
mov dword [esp], ebx
mov ecx, 0x47a6c0
call fcn.004312a0
push eax
mov dword [esp], 0x4478e8
call fcn.00401400
mov dword [esp], 0x476e58
call fcn.00446ec0
mov ecx, 0x47a6c0
call fcn.00431260
mov dword [esp + 0x14], 0xce61c1d
mov dword [esp + 0x18], 0x154e428
mov dword [esp + 0xc], 0x29604458
mov dword [esp + 0x10], 0xba43
mov dword [esp + 4], 0x1863da5c
mov dword [esp + 8], 0x15d3
mov dword [esp], 0x47a6c0
call fcn.0042dc44
mov word [ebp - 0x51], 0x31af
mov al, byte [0x476e60]
test al, al
jne 0x42278a
mov dword [esp], 0x476e60
call fcn.00446df0
test eax, eax
je 0x42278a
mov dword [esp], ebx
mov ecx, 0x47a700
call fcn.00431170
push eax
mov dword [esp], 0x4478ec
call fcn.00401400
mov dword [esp], 0x476e60
call fcn.00446ec0
mov ecx, 0x47a700
call fcn.00431130
mov dword [esp], 0x47a700
jmp 0x422ab1
nop
mov esi, 0x44b020
mov ecx, 0x2d
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x476e68]
test al, al
jne 0x4227ee
mov dword [esp], 0x476e68
call fcn.00446df0
test eax, eax
je 0x4227ee
mov dword [esp], ebx
mov ecx, 0x47a720
call fcn.004311c8
push eax
mov dword [esp], 0x4478f0
call fcn.00401400
mov dword [esp], 0x476e68
call fcn.00446ec0
mov ecx, 0x47a720
call fcn.00431188
mov dword [esp + 0x10], 0x1ad8bf1
mov dword [esp + 0x14], 0xef791
mov dword [esp + 8], 0xff1e7828
mov dword [esp + 0xc], 0x606858
mov dword [esp + 4], 0x703e1c0
mov dword [esp], 0x47a720
call fcn.0042dc44
nop
mov esi, 0x44b060
mov ecx, 0x39
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x476e70]
test al, al
jne 0x42287b
mov dword [esp], 0x476e70
call fcn.00446df0
test eax, eax
je 0x42287b
mov dword [esp], ebx
mov ecx, 0x47a760
call fcn.004312a0
push eax
mov dword [esp], 0x4478f8
call fcn.00401400
mov dword [esp], 0x476e70
call fcn.00446ec0
mov ecx, 0x47a760
call fcn.00431260
mov dword [esp + 0x14], 0xce61c20
mov dword [esp + 0x18], 0x154e428
mov dword [esp + 0xc], 0xd36a258b
mov dword [esp + 0x10], 0xbf8a
mov dword [esp + 4], 0xf2a26f24
mov dword [esp + 8], 0x1612
mov dword [esp], 0x47a760
call fcn.0042dc44
mov word [ebp - 0x51], 0x31af
mov al, byte [0x476e78]
test al, al
jne 0x422906
mov dword [esp], 0x476e78
call fcn.00446df0
test eax, eax
je 0x422906
mov dword [esp], ebx
mov ecx, 0x47a7a0
call fcn.00431170
push eax
mov dword [esp], 0x4478fc
call fcn.00401400
mov dword [esp], 0x476e78
call fcn.00446ec0
mov ecx, 0x47a7a0
call fcn.00431130
mov dword [esp], 0x47a7a0
call sub.msvcrt.dll_atoi
cmp eax, dword [0x4819b8]
jne 0x42292d
push eax
xor eax, eax
mov dword [0xc], eax
pop eax
cmp dword [ebp + 0xc], 0x4550
je 0x422ad0
nop
mov esi, 0x44b020
mov ecx, 0x2d
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x476e80]
test al, al
jne 0x422988
mov dword [esp], 0x476e80
call fcn.00446df0
test eax, eax
je 0x422988
mov dword [esp], ebx
mov ecx, 0x47a7c0
call fcn.004311c8
push edi
mov dword [esp], 0x447900
call fcn.00401400
mov dword [esp], 0x476e80
call fcn.00446ec0
mov ecx, 0x47a7c0
call fcn.00431188
mov dword [esp + 0x10], 0x1ad8bf3
mov dword [esp + 0x14], 0xef791
mov dword [esp + 8], 0x27b60da0
mov dword [esp + 0xc], 0x62924c
mov dword [esp + 4], 0x1b756168
mov dword [esp], 0x47a7c0
call fcn.0042dc44
nop
mov esi, 0x44b060
mov ecx, 0x39
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x476e88]
test al, al
jne 0x422a15
mov dword [esp], 0x476e88
call fcn.00446df0
test eax, eax
je 0x422a15
mov dword [esp], ebx
mov ecx, 0x47a800
call fcn.004312a0
push esi
mov dword [esp], 0x447904
call fcn.00401400
mov dword [esp], 0x476e88
call fcn.00446ec0
mov ecx, 0x47a800
call fcn.00431260
mov dword [esp + 0x14], 0xce61c22
mov dword [esp + 0x18], 0x154e428
mov dword [esp + 0xc], 0x3f23f947
mov dword [esp + 0x10], 0xc3d4
mov dword [esp + 4], 0xcce103ec
mov dword [esp + 8], 0x1652
mov dword [esp], 0x47a800
call fcn.0042dc44
mov word [ebp - 0x51], 0x31af
mov al, byte [0x476e28]
test al, al
jne 0x422aa0
mov dword [esp], 0x476e28
call fcn.00446df0
test eax, eax
je 0x422aa0
mov dword [esp], ebx
mov ecx, 0x47a5c0
call fcn.00431170
push ebx
mov dword [esp], 0x447908
call fcn.00401400
mov dword [esp], 0x476e28
call fcn.00446ec0
mov ecx, 0x47a5c0
call fcn.00431130
mov dword [esp], 0x47a5c0
call sub.msvcrt.dll_atoi
cmp eax, dword [0x4819b8]
jne 0x422c63
push eax
xor eax, eax
mov dword [0xc], eax
pop eax
jmp 0x422c63
nop
mov esi, 0x44b020
mov ecx, 0x2d
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x476e30]
test al, al
jne 0x422b1e
mov dword [esp], 0x476e30
call fcn.00446df0
test eax, eax
je 0x422b1e
mov dword [esp], ebx
mov ecx, 0x47a5e0
call fcn.004311c8
push ecx
mov dword [esp], 0x44790c
call fcn.00401400
mov dword [esp], 0x476e30
call fcn.00446ec0
mov ecx, 0x47a5e0
call fcn.00431188
mov dword [esp + 0x10], 0x1ad8bf6
mov dword [esp + 0x14], 0xef791
mov dword [esp + 8], 0xc4e6e334
mov dword [esp + 0xc], 0x654d12
mov dword [esp + 4], 0x2fe6e110
mov dword [esp], 0x47a5e0
call fcn.0042dc44
nop
mov esi, 0x44b060
mov ecx, 0x39
mov edi, ebx
rep movsb byte es:[edi], byte [esi]
mov al, byte [0x476e38]
test al, al
jne 0x422bab
mov dword [esp], 0x476e38
call fcn.00446df0
test eax, eax
je 0x422bab
mov dword [esp], ebx
mov ecx, 0x47a620
call fcn.004312a0
push edx
mov dword [esp], 0x447910
call fcn.00401400
mov dword [esp], 0x476e38
call fcn.00446ec0
mov ecx, 0x47a620
call fcn.00431260
mov dword [esp + 0x14], 0xce61c25
mov dword [esp + 0x18], 0x154e428
mov dword [esp + 0xc], 0x4dd442a6
mov dword [esp + 0x10], 0xc93d
mov dword [esp + 4], 0xa71f98b4
mov dword [esp + 8], 0x1692
mov dword [esp], 0x47a620
call fcn.0042dc44
mov word [ebp - 0x51], 0x31af
mov al, byte [0x476e40]
test al, al
jne 0x422c36
mov dword [esp], 0x476e40
call fcn.00446df0
test eax, eax
je 0x422c36
mov dword [esp], ebx
mov ecx, 0x47a660
call fcn.00431170
push eax
mov dword [esp], 0x447914
call fcn.00401400
mov dword [esp], 0x476e40
call fcn.00446ec0
mov ecx, 0x47a660
call fcn.00431130
mov dword [esp], 0x47a660
call sub.msvcrt.dll_atoi
cmp eax, dword [0x4819b8]
je 0x422c58
xor eax, eax
jmp 0x422c65
push eax
xor eax, eax
mov dword [0xc], eax
pop eax
jmp 0x422c54
mov al, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret