Function at 0x4e41de
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x5328d0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x1fc], edx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x200], eax
mov dword [ebp - 0x204], ecx
test edi, edi
jne 0x4e4240
mov dword [ebp - 0x14], 0x33c
mov dword [ebp - 0x10], 0x439170
mov esi, 0xc000000d
mov dword [ebp - 0x18], 0x439150
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x43907c
jmp 0x4e452b
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov eax, dword [edi]
mov dword [ebp - 0xc], edx
mov esi, dword [eax + 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0xec]
mov ecx, esi
push eax
push 0x40
push edx
push edx
call dword [0x5352c4]
mov ecx, edi
call esi
test eax, eax
js 0x4e4533
cmp dword [ebp - 0xc], 0x40
je 0x4e4292
mov dword [ebp - 0x14], 0x354
mov dword [ebp - 0x10], 0x439198
mov esi, 0xc0000102
jmp 0x4e422a
mov eax, 0x5a4d
cmp word [ebp - 0xec], ax
je 0x4e42b0
mov dword [ebp - 0x14], 0x355
mov dword [ebp - 0x10], 0x4391c0
jmp 0x4e428b
mov ecx, dword [edi]
mov eax, dword [ebp - 0xb0]
and dword [ebp - 0x28], 0
cdq
mov esi, dword [ecx + 8]
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x28]
push ecx
push 4
push edx
push eax
mov ecx, esi
call dword [0x5352c4]
mov ecx, edi
call esi
test eax, eax
js 0x4e4533
cmp dword [ebp - 0xc], 4
je 0x4e42f6
mov dword [ebp - 0x14], 0x35b
mov dword [ebp - 0x10], 0x4391e4
jmp 0x4e428b
cmp dword [ebp - 0x28], 0x4550
je 0x4e4312
mov dword [ebp - 0x14], 0x35c
mov dword [ebp - 0x10], 0x439200
jmp 0x4e428b
mov eax, dword [edi]
mov ecx, dword [ebp - 0xb0]
add ecx, 4
mov esi, dword [eax + 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x74]
push eax
push 0x14
push 0
push ecx
mov ecx, esi
call dword [0x5352c4]
mov ecx, edi
call esi
test eax, eax
js 0x4e4533
cmp dword [ebp - 0xc], 0x14
je 0x4e435a
mov dword [ebp - 0x14], 0x361
mov dword [ebp - 0x10], 0x43921c
jmp 0x4e428b
mov ecx, dword [edi]
mov eax, dword [ebp - 0xb0]
add eax, 0x18
cdq
mov esi, dword [ecx + 8]
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 0x1dc]
push ecx
push 0xe0
push edx
push eax
mov ecx, esi
call dword [0x5352c4]
mov ecx, edi
call esi
test eax, eax
js 0x4e4533
cmp dword [ebp - 0xc], 0xe0
je 0x4e43ab
mov dword [ebp - 0x14], 0x36d
mov dword [ebp - 0x10], 0x439244
jmp 0x4e428b
mov eax, 0x20b
cmp word [ebp - 0x1dc], ax
sete byte [ebp - 0x1e1]
jne 0x4e4415
mov ecx, dword [edi]
mov eax, dword [ebp - 0xb0]
and dword [ebp - 0x20], 0
add eax, 0x18
cdq
mov esi, dword [ecx + 8]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1dc]
push ecx
push 0xf0
push edx
push eax
mov ecx, esi
call dword [0x5352c4]
mov ecx, edi
call esi
test eax, eax
js 0x4e4533
cmp dword [ebp - 0x20], 0xf0
je 0x4e4415
mov dword [ebp - 0x14], 0x375
mov dword [ebp - 0x10], 0x439274
jmp 0x4e428b
cmp byte [ebp - 0x1e1], 0
mov esi, dword [ebp - 0xb0]
lea eax, [esi + 0x58]
cdq
mov dword [ebx], eax
mov dword [ebx + 4], edx
je 0x4e4441
mov ecx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x158]
mov dword [ebp - 0x1f8], ecx
jmp 0x4e4453
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x1f8], eax
mov eax, dword [ebp - 0x168]
test eax, eax
jne 0x4e447b
mov dword [ebp - 0x1c], 0x43907c
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], 0x439150
mov dword [ebp - 0x14], 0x390
mov dword [ebp - 0x10], 0x4392a4
jmp 0x4e4526
movzx eax, word [ebp - 0x64]
xor ebx, ebx
add eax, 0x18
add eax, esi
cdq
mov ecx, eax
mov dword [ebp - 0x1e0], eax
xor eax, eax
cmp ax, word [ebp - 0x72]
jmp 0x4e44f3
mov eax, dword [edi]
and dword [ebp - 0x20], 0
mov esi, dword [eax + 8]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xac]
push eax
push 0x28
push edx
push ecx
mov ecx, esi
call dword [0x5352c4]
mov ecx, edi
call esi
test eax, eax
js 0x4e4533
cmp dword [ebp - 0x20], 0x28
jne 0x4e48b0
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0x1f8]
je 0x4e4544
mov ecx, dword [ebp - 0x1e0]
mov edx, dword [ebp - 0x24]
add ecx, 0x28
movzx eax, word [ebp - 0x72]
adc edx, 0
mov dword [ebp - 0x1e0], ecx
inc ebx
cmp ebx, eax
mov dword [ebp - 0x24], edx
jb 0x4e4497
mov dword [ebp - 0x1f4], 0x43907c
lea ecx, [ebp - 0x1f4]
mov dword [ebp - 0x1f0], 0x439150
mov dword [ebp - 0x1ec], 0x3ac
mov dword [ebp - 0x1e8], 0x4392e8
mov esi, 0xc0000089
push esi
call fcn.004de872
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050e82a
leave
ret 0xc
sub eax, dword [ebp - 0x98]
xor ecx, ecx
and dword [ebp - 0xc], ecx
mov ebx, dword [ebp - 0x98]
mov dword [ebp - 0x1f8], eax
mov eax, dword [edi]
mov dword [ebp - 0x20], ecx
mov esi, dword [eax + 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x40]
push eax
push 0x10
push ecx
push ebx
mov ecx, esi
call dword [0x5352c4]
mov ecx, edi
call esi
test eax, eax
js 0x4e4533
cmp dword [ebp - 0xc], 0x10
je 0x4e4598
mov dword [ebp - 0x14], 0x3b4
mov dword [ebp - 0x10], 0x439300
jmp 0x4e428b
movzx eax, word [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
lea eax, [eax*8 + 0x10]
add ebx, eax
adc ecx, ecx
and dword [ebp - 0x1e0], 0
xor eax, eax
cmp ax, word [ebp - 0x32]
jmp 0x4e460f
mov eax, dword [edi]
and dword [ebp - 0x24], 0
mov esi, dword [eax + 8]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push 8
push ecx
push ebx
mov ecx, esi
call dword [0x5352c4]
mov ecx, edi
call esi
test eax, eax
js 0x4e4533
cmp dword [ebp - 0x24], 8
jne 0x4e48a4
cmp word [ebp - 0x14], 0x18
je 0x4e4632
mov ecx, dword [ebp - 0x20]
add ebx, 8
mov edx, dword [ebp - 0x1e0]
movzx eax, word [ebp - 0x32]
adc ecx, 0
inc edx
mov dword [ebp - 0x1e0], edx
cmp edx, eax
mov dword [ebp - 0x20], ecx
jb 0x4e45b9
mov dword [ebp - 0x1ec], 0x3cd
mov esi, 0xc000008a
mov dword [ebp - 0x1e8], 0x439364
jmp 0x4e4885
mov eax, dword [edi]
xor ecx, ecx
mov ebx, dword [ebp - 0x10]
and ebx, 0x7fffffff
mov dword [ebp - 0x20], ecx
add ebx, dword [ebp - 0x98]
mov esi, dword [eax + 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x50]
push eax
push 0x10
push ecx
push ebx
mov ecx, esi
call dword [0x5352c4]
mov ecx, edi
call esi
test eax, eax
js 0x4e4533
cmp dword [ebp - 0xc], 0x10
je 0x4e467d
mov dword [ebp - 0x14], 0x3d4
jmp 0x4e458c
movzx eax, word [ebp - 0x44]
mov ecx, dword [ebp - 0x20]
lea eax, [eax*8 + 0x10]
add ebx, eax
adc ecx, ecx
and dword [ebp - 0x1e0], 0
xor eax, eax
cmp ax, word [ebp - 0x42]
jmp 0x4e46f9
mov eax, dword [edi]
and dword [ebp - 0x24], 0
mov esi, dword [eax + 8]
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push 8
push ecx
push ebx
mov ecx, esi
call dword [0x5352c4]
mov ecx, edi
call esi
test eax, eax
js 0x4e4533
cmp dword [ebp - 0x24], 8
jne 0x4e486c
movzx eax, word [ebp - 0x14]
cmp eax, dword [ebp - 0x1fc]
je 0x4e471c
mov ecx, dword [ebp - 0x20]
add ebx, 8
mov edx, dword [ebp - 0x1e0]
movzx eax, word [ebp - 0x42]
adc ecx, 0
inc edx
mov dword [ebp - 0x1e0], edx
cmp edx, eax
mov dword [ebp - 0x20], ecx
jb 0x4e469e
mov dword [ebp - 0x1ec], 0x3ed
mov esi, 0xc000008b
mov dword [ebp - 0x1e8], 0x439380
jmp 0x4e4885
mov eax, dword [edi]
mov ebx, dword [ebp - 0x10]
and dword [ebp - 0xc], 0
and ebx, 0x7fffffff
add ebx, dword [ebp - 0x98]
mov esi, dword [eax + 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
push 0x10
push 0
push ebx
call dword [0x5352c4]
mov ecx, edi
call esi
test eax, eax
js 0x4e4533
cmp dword [ebp - 0xc], 0x10
je 0x4e4767
mov dword [ebp - 0x14], 0x3f5
jmp 0x4e458c
movzx eax, word [ebp - 0x54]
push 0
pop ecx
lea eax, [eax*8 + 0x10]
add ebx, eax
adc ecx, ecx
cmp word [ebp - 0x52], 0
ja 0x4e4798
mov dword [ebp - 0x14], 0x3fb
mov esi, 0xc0000204
mov dword [ebp - 0x10], 0x4393a0
jmp 0x4e422a
cmp word [ebp - 0x52], 1
je 0x4e47b2
mov dword [ebp - 0x14], 0x401
mov dword [ebp - 0x10], 0x4393d0
jmp 0x4e4225
mov eax, dword [edi]
and dword [ebp - 0xc], 0
mov esi, dword [eax + 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
push 8
push ecx
push ebx
mov ecx, esi
call dword [0x5352c4]
mov ecx, edi
call esi
test eax, eax
js 0x4e4533
cmp dword [ebp - 0xc], 8
je 0x4e47f4
mov dword [ebp - 0x14], 0x406
mov dword [ebp - 0x10], 0x439330
jmp 0x4e428b
mov eax, dword [edi]
xor ebx, ebx
mov edx, dword [ebp - 0x2c]
add edx, dword [ebp - 0x98]
mov esi, dword [eax + 8]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
push 0x10
push ebx
push edx
call dword [0x5352c4]
mov ecx, edi
call esi
test eax, eax
js 0x4e4533
cmp dword [ebp - 0xc], 0x10
je 0x4e4840
mov dword [ebp - 0x14], 0x40d
mov dword [ebp - 0x10], 0x439400
jmp 0x4e428b
mov ecx, dword [ebp - 0x200]
mov eax, dword [ebp - 0x84]
sub eax, dword [ebp - 0x1f8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x80]
mov dword [ecx + 4], ebx
mov ecx, dword [ebp - 0x204]
mov dword [ecx], eax
xor eax, eax
mov dword [ecx + 4], ebx
jmp 0x4e4533
mov dword [ebp - 0x1ec], 0x3e1
mov dword [ebp - 0x1e8], 0x439330
mov esi, 0xc0000102
mov dword [ebp - 0x1f4], 0x43907c
lea ecx, [ebp - 0x1f4]
mov dword [ebp - 0x1f0], 0x439150
jmp 0x4e452b
mov dword [ebp - 0x1ec], 0x3c1
jmp 0x4e4876
mov dword [ebp - 0x1ec], 0x39f
mov dword [ebp - 0x1e8], 0x4392bc
jmp 0x4e4880