Function at 0x4d4270
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x59c6b8]
xor eax, ebp
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x68]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x64]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x84], 0
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.004ad690
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d42d7
lea eax, [ebp - 0xc]
push eax
push 0x560368
mov ecx, dword [ebp - 4]
push ecx
call fcn.004ae210
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d42dc
jmp 0x4d4a7f
mov dword [ebp - 8], 2
movzx edx, word [ebp - 0xc]
cmp edx, 0x5a4d
jne 0x4d4a6d
xor eax, eax
jne 0x4d42f3
movzx ecx, word [ebp - 0xa]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004ad690
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d432f
lea eax, [ebp - 0x18]
push eax
push 0x56037c
mov ecx, dword [ebp - 4]
push ecx
call fcn.004ae210
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d4334
jmp 0x4d4a7f
mov dword [ebp - 8], 2
movzx edx, word [ebp - 0x18]
cmp edx, 0x454e
jne 0x4d4584
movzx eax, word [ebp - 0xa]
movzx ecx, word [ebp - 0x16]
add eax, ecx
mov dword [ebp - 0x28], eax
xor edx, edx
mov word [ebp - 0x20], dx
mov dword [ebp - 0x1c], 0
xor eax, eax
jne 0x4d4365
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004ad690
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d43a2
movzx eax, word [ebp - 0x14]
movzx ecx, word [ebp - 0x16]
sub eax, ecx
push eax
mov edx, dword [ebp - 4]
push edx
call fcn.004ad950
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d43a7
jmp 0x4d4a7f
mov eax, dword [ebp - 4]
push eax
call fcn.004adba0
add esp, 4
mov word [ebp - 0x24], ax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004adba0
add esp, 4
mov word [ebp - 0x30], ax
movzx edx, word [ebp - 0x30]
test edx, edx
jne 0x4d43d1
jmp 0x4d442f
mov eax, dword [ebp - 4]
push eax
call fcn.004adba0
add esp, 4
mov word [ebp - 0x2c], ax
movzx ecx, word [ebp - 0x30]
cmp ecx, 0x8008
jne 0x4d4416
mov dx, word [ebp - 0x2c]
mov word [ebp - 0x20], dx
mov eax, dword [ebp - 4]
push eax
call fcn.004ad730
add esp, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov ecx, dword [ecx + 0x20]
sub ecx, dword [edx + 0x24]
lea edx, [eax + ecx + 4]
mov dword [ebp - 0x1c], edx
jmp 0x4d442f
movzx eax, word [ebp - 0x2c]
imul eax, eax, 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
lea eax, [eax + edx + 4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], eax
jmp 0x4d43b7
mov edx, dword [ebp - 4]
push edx
call fcn.004adaa0
add esp, 4
movzx eax, word [ebp - 0x20]
test eax, eax
je 0x4d4449
cmp dword [ebp - 0x1c], 0
jne 0x4d4459
xor ecx, ecx
jne 0x4d4449
mov dword [ebp - 8], 3
jmp 0x4d4a7f
movzx edx, word [ebp - 0x20]
imul edx, edx, 0x76
mov eax, dword [ebp - 4]
cmp edx, dword [eax + 4]
jbe 0x4d4478
xor ecx, ecx
jne 0x4d4468
mov dword [ebp - 8], 3
jmp 0x4d4a7f
movzx edx, word [ebp - 0x20]
mov eax, dword [ebp + 8]
mov dword [eax], edx
movzx ecx, word [ebp - 0x20]
cmp dword [ebp + 0xc], ecx
jl 0x4d4498
mov dword [ebp - 8], 6
jmp 0x4d4a7f
cmp dword [ebp + 0xc], 0
jge 0x4d44a3
jmp 0x4d4a7f
lea edx, [ebp - 8]
push edx
push 0xac
mov eax, dword [ebp - 0x10]
push eax
call fcn.004aed60
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x84], eax
cmp dword [ebp - 8], 0
je 0x4d44cc
jmp 0x4d4a7f
mov edx, dword [ebp + 0xc]
imul edx, edx, 0xc
add edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004ad690
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d4502
push 0xc
mov ecx, dword [ebp - 4]
push ecx
call fcn.004ad950
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d4507
jmp 0x4d4a6d
mov edx, dword [ebp - 4]
push edx
call fcn.004adba0
add esp, 4
movzx eax, ax
movzx ecx, word [ebp - 0x24]
shl eax, cl
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x84]
mov dword [edx], eax
mov eax, dword [ebp - 4]
push eax
call fcn.004adba0
add esp, 4
movzx edx, ax
movzx ecx, word [ebp - 0x24]
shl edx, cl
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x84]
mov dword [ecx + 0xa4], edx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
add eax, 8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 4]
push edx
call fcn.004adaa0
add esp, 4
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x84]
push edx
call fcn.004d4110
add esp, 8
mov dword [ebp - 8], eax
jmp 0x4d4a45
movzx eax, word [ebp - 0x18]
cmp eax, 0x4550
jne 0x4d4a45
xor ecx, ecx
jne 0x4d4593
movzx edx, word [ebp - 0xa]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004ad690
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d45cf
lea ecx, [ebp - 0x78]
push ecx
push 0x560394
mov edx, dword [ebp - 4]
push edx
call fcn.004ae210
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d45d4
jmp 0x4d4a7f
xor eax, eax
jne 0x4d45d4
cmp dword [ebp - 0x78], 0x4550
jne 0x4d4604
movzx ecx, word [ebp - 0x74]
cmp ecx, 0x14c
jne 0x4d4604
movzx edx, word [ebp - 0x70]
cmp edx, 0xe0
jne 0x4d4604
movzx eax, word [ebp - 0x6e]
cmp eax, 0x10b
je 0x4d4614
xor ecx, ecx
jne 0x4d4604
mov dword [ebp - 8], 3
jmp 0x4d4a7f
mov edx, dword [ebp + 8]
mov dword [edx], 0
xor eax, eax
mov word [ebp - 0x58], ax
jmp 0x4d4631
mov cx, word [ebp - 0x58]
add cx, 1
mov word [ebp - 0x58], cx
movzx edx, word [ebp - 0x58]
movzx eax, word [ebp - 0x72]
cmp edx, eax
jge 0x4d4676
lea ecx, [ebp - 0x90]
push ecx
push 0x5603c8
mov edx, dword [ebp - 4]
push edx
call fcn.004ae210
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d4663
jmp 0x4d4a7f
xor eax, eax
jne 0x4d4663
mov ecx, dword [ebp - 0x6c]
cmp ecx, dword [ebp - 0x88]
jne 0x4d4674
jmp 0x4d4686
jmp 0x4d4625
xor edx, edx
jne 0x4d4676
mov dword [ebp - 8], 3
jmp 0x4d4a7f
xor eax, eax
jne 0x4d4686
mov ecx, dword [ebp - 0x80]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004ad690
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d46c1
lea eax, [ebp - 0x54]
push eax
push 0x5603e8
mov ecx, dword [ebp - 4]
push ecx
call fcn.004ae210
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d46c6
jmp 0x4d4a7f
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0xa0], edx
xor eax, eax
mov word [ebp - 0x58], ax
jmp 0x4d46e3
mov cx, word [ebp - 0x58]
add cx, 1
mov word [ebp - 0x58], cx
movzx edx, word [ebp - 0x58]
movzx eax, word [ebp - 0x48]
movzx ecx, word [ebp - 0x46]
add eax, ecx
cmp edx, eax
jge 0x4d4a45
movzx edx, word [ebp - 0x58]
mov eax, dword [ebp - 0xa0]
lea ecx, [eax + edx*8 + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004ad690
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d473b
lea eax, [ebp - 0x64]
push eax
push 0x560408
mov ecx, dword [ebp - 4]
push ecx
call fcn.004ae210
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d4740
jmp 0x4d4a7f
mov edx, dword [ebp - 0x60]
and edx, 0x80000000
jne 0x4d4757
mov dword [ebp - 8], 3
jmp 0x4d4a7f
mov eax, dword [ebp - 0x60]
and eax, 0x7fffffff
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x80]
add ecx, dword [ebp - 0x60]
mov dword [ebp - 0x7c], ecx
mov edx, dword [ebp - 0x80]
add edx, dword [ebp - 0x60]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004ad690
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d47a8
lea ecx, [ebp - 0xc8]
push ecx
push 0x5603e8
mov edx, dword [ebp - 4]
push edx
call fcn.004ae210
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d47ad
jmp 0x4d4a7f
xor eax, eax
mov word [ebp - 0xcc], ax
jmp 0x4d47ca
mov cx, word [ebp - 0xcc]
add cx, 1
mov word [ebp - 0xcc], cx
movzx edx, word [ebp - 0xcc]
movzx eax, word [ebp - 0xbc]
movzx ecx, word [ebp - 0xba]
add eax, ecx
cmp edx, eax
jge 0x4d4a40
movzx edx, word [ebp - 0xcc]
mov eax, dword [ebp - 0x7c]
lea ecx, [eax + edx*8 + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004ad690
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d482e
lea eax, [ebp - 0xa8]
push eax
push 0x560408
mov ecx, dword [ebp - 4]
push ecx
call fcn.004ae210
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d4833
jmp 0x4d4a7f
mov edx, dword [ebp - 0xa4]
and edx, 0x80000000
jne 0x4d484d
mov dword [ebp - 8], 3
jmp 0x4d4a7f
mov eax, dword [ebp - 0xa4]
and eax, 0x7fffffff
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x80]
add ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x80]
add edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004ad690
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d48aa
lea ecx, [ebp - 0xb8]
push ecx
push 0x5603e8
mov edx, dword [ebp - 4]
push edx
call fcn.004ae210
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d48af
jmp 0x4d4a7f
xor eax, eax
mov word [ebp - 0x9c], ax
jmp 0x4d48cc
mov cx, word [ebp - 0x9c]
add cx, 1
mov word [ebp - 0x9c], cx
movzx edx, word [ebp - 0x9c]
movzx eax, word [ebp - 0xac]
movzx ecx, word [ebp - 0xaa]
add eax, ecx
cmp edx, eax
jge 0x4d4a3b
movzx edx, word [ebp - 0x9c]
mov eax, dword [ebp - 0x5c]
lea ecx, [eax + edx*8 + 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004ad690
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d4930
lea eax, [ebp - 0x98]
push eax
push 0x560408
mov ecx, dword [ebp - 4]
push ecx
call fcn.004ae210
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d4935
jmp 0x4d4a7f
mov edx, dword [ebp - 0xa4]
and edx, 0x80000000
je 0x4d494f
mov dword [ebp - 8], 3
jmp 0x4d4a7f
cmp dword [ebp - 0x64], 8
jne 0x4d4a36
mov eax, dword [ebp - 0xa0]
add eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004ad690
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d4999
lea edx, [ebp - 0x44]
push edx
push 0x560418
mov eax, dword [ebp - 4]
push eax
call fcn.004ae210
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d499e
jmp 0x4d4a7f
xor ecx, ecx
jne 0x4d499e
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp eax, dword [edx]
jne 0x4d4a29
lea ecx, [ebp - 8]
push ecx
push 0xac
mov edx, dword [ebp - 0x10]
push edx
call fcn.004aed60
add esp, 0xc
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x84], eax
cmp dword [ebp - 8], 0
je 0x4d49d5
jmp 0x4d4a7f
mov edx, dword [ebp - 0x80]
add edx, dword [ebp - 0x44]
sub edx, dword [ebp - 0x88]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x84]
mov dword [ecx], edx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x84]
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0xa4], ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x84]
push ecx
call fcn.004d4110
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d4a25
xor edx, edx
jne 0x4d4a1d
jmp 0x4d4a6d
xor eax, eax
jne 0x4d4a25
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax], edx
jmp 0x4d48ba
jmp 0x4d47b8
jmp 0x4d46d7
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
jne 0x4d4a5a
xor edx, edx
jne 0x4d4a4d
mov dword [ebp - 8], 3
jmp 0x4d4a7f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [eax]
jl 0x4d4a6d
mov dword [ebp - 8], 6
jmp 0x4d4a7f
cmp dword [ebp - 8], 0
je 0x4d4a7f
mov edx, dword [ebp + 8]
push edx
call fcn.004d3bb0
add esp, 4
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x34]
xor ecx, ebp
call fcn.00511afd
mov esp, ebp
pop ebp
ret