Function at 0x100d2000
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x64]
push edi
mov edi, dword [esi + 0x68]
xor ebx, ebx
push ebx
push edi
mov dword [ebp - 0x1c], eax
mov dword [esi + 0x84], ebx
call fcn.100b4ca0
add esp, 8
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x100d262d
lea ecx, [ebp - 0xc]
push ecx
push 0x1026c138
push edi
call fcn.100b64e0
add esp, 0xc
cmp eax, ebx
jne 0x100d262d
mov edx, 0x5a4d
mov dword [ebp - 4], 2
cmp word [ebp - 0xc], dx
jne 0x100d2623
movzx eax, word [ebp - 0xa]
push eax
push edi
call fcn.100b4ca0
add esp, 8
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x100d262d
lea ecx, [ebp - 0x18]
push ecx
push 0x1026c14c
push edi
call fcn.100b64e0
add esp, 0xc
cmp eax, ebx
jne 0x100d262d
mov cx, word [ebp - 0x18]
mov edx, 0x454e
mov eax, 2
mov dword [ebp - 4], eax
cmp cx, dx
jne 0x100d225b
movzx eax, word [ebp - 0x16]
movzx ecx, word [ebp - 0xa]
add eax, ecx
push eax
push edi
mov dword [ebp - 8], ebx
call fcn.100b4ca0
add esp, 8
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x100d262d
movzx edx, word [ebp - 0x14]
movzx eax, word [ebp - 0x16]
sub edx, eax
push edx
push edi
call fcn.100b63d0
add esp, 8
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x100d262d
push edi
call fcn.100b4e60
movzx ecx, ax
push edi
mov dword [ebp - 0x10], ecx
call fcn.100b4e60
movzx esi, ax
add esp, 8
test si, si
je 0x100d215d
push edi
call fcn.100b4e60
add esp, 4
mov edx, 0x8008
movzx eax, ax
push edi
cmp si, dx
je 0x100d2146
lea eax, [eax + eax*2]
lea ecx, [eax*4 + 4]
add dword [edi + 0x20], ecx
call fcn.100b4e60
movzx esi, ax
add esp, 4
test si, si
jne 0x100d2110
jmp 0x100d215d
mov ebx, eax
call fcn.100383e0
mov edx, dword [edi + 0x20]
add esp, 4
sub edx, dword [edi + 0x24]
lea eax, [eax + edx + 4]
mov dword [ebp - 8], eax
push edi
call fcn.100b64b0
add esp, 4
test bx, bx
je 0x100d2301
cmp dword [ebp - 8], 0
je 0x100d2301
movzx eax, bx
mov ecx, eax
imul ecx, ecx, 0x76
cmp ecx, dword [edi + 4]
ja 0x100d2301
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [esi], eax
cmp ebx, eax
jl 0x100d21a2
pop edi
pop esi
mov eax, 6
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
js 0x100d262a
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 4]
push edx
push 0xac
push eax
call fcn.100b6710
mov dword [esi + 0x84], eax
mov eax, dword [ebp - 4]
add esp, 0xc
test eax, eax
jne 0x100d262d
mov edx, dword [ebp - 8]
lea ecx, [ebx + ebx*2]
lea eax, [edx + ecx*4]
push eax
push edi
call fcn.100b4ca0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d2620
push 0xc
push edi
call fcn.100b63d0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d2620
movzx esi, word [ebp - 0x10]
push edi
call fcn.100b4e60
mov ebx, dword [ebp + 8]
movzx edx, ax
mov eax, dword [ebx + 0x84]
mov ecx, esi
shl edx, cl
push edi
mov dword [eax], edx
call fcn.100b4e60
movzx edx, ax
mov eax, dword [ebx + 0x84]
mov ecx, esi
shl edx, cl
push edi
mov dword [eax + 0xa4], edx
add dword [edi + 0x20], 8
call fcn.100b64b0
mov eax, dword [ebx + 0x84]
add esp, 0xc
call fcn.100d1f40
mov dword [ebp - 4], eax
mov esi, ebx
jmp 0x100d25f8
mov edx, 0x4550
cmp cx, dx
jne 0x100d25f8
movzx eax, word [ebp - 0xa]
push eax
push edi
call fcn.100b4ca0
add esp, 8
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x100d262d
lea ecx, [ebp - 0x60]
push ecx
push 0x1026c164
push edi
call fcn.100b64e0
add esp, 0xc
mov dword [ebp - 4], eax
cmp eax, ebx
jne 0x100d262d
cmp dword [ebp - 0x60], 0x4550
jne 0x100d2301
mov edx, 0x14c
cmp word [ebp - 0x5c], dx
jne 0x100d2301
mov eax, 0xe0
cmp word [ebp - 0x58], ax
jne 0x100d2301
mov ecx, 0x10b
cmp word [ebp - 0x56], cx
jne 0x100d2301
mov dword [esi], ebx
xor edx, edx
xor esi, esi
cmp dx, word [ebp - 0x5a]
jae 0x100d2301
lea eax, [ebp - 0x4c]
push eax
push 0x1026c198
push edi
call fcn.100b64e0
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d262d
mov ecx, dword [ebp - 0x54]
cmp ecx, dword [ebp - 0x44]
je 0x100d230d
inc esi
cmp si, word [ebp - 0x5a]
jb 0x100d22d5
pop edi
pop esi
mov eax, 3
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x3c]
push edx
push edi
call fcn.100b4ca0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d262d
lea eax, [ebp - 0x80]
push eax
push 0x1026c1b8
push edi
call fcn.100b64e0
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d262d
mov ecx, dword [ebp - 0x3c]
movzx edx, word [ebp - 0x72]
mov dword [ebp - 8], ecx
movzx ecx, word [ebp - 0x74]
add edx, ecx
mov dword [ebp - 0x10], ebx
test edx, edx
jle 0x100d25f5
xor ecx, ecx
nop
mov edx, dword [ebp - 8]
lea eax, [edx + ecx*8 + 0x10]
push eax
push edi
call fcn.100b4ca0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d262d
lea ecx, [ebp - 0x2c]
push ecx
push 0x1026c1d8
push edi
call fcn.100b64e0
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d262d
mov eax, dword [ebp - 0x28]
test eax, eax
jns 0x100d2301
mov edx, dword [ebp - 0x3c]
and eax, 0x7fffffff
lea esi, [eax + edx]
push esi
push edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], esi
call fcn.100b4ca0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d262d
lea eax, [ebp - 0x90]
push eax
push 0x1026c1b8
push edi
call fcn.100b64e0
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d262d
movzx ecx, word [ebp - 0x82]
movzx edx, word [ebp - 0x84]
add ecx, edx
mov dword [ebp - 0x20], eax
test ecx, ecx
jle 0x100d25d9
xor ecx, ecx
lea eax, [esi + ecx*8 + 0x10]
push eax
push edi
call fcn.100b4ca0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d262d
lea ecx, [ebp - 0x34]
push ecx
push 0x1026c1d8
push edi
call fcn.100b64e0
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d262d
mov eax, dword [ebp - 0x30]
test eax, eax
jns 0x100d2301
mov edx, dword [ebp - 0x3c]
and eax, 0x7fffffff
lea ebx, [eax + edx]
push ebx
push edi
mov dword [ebp - 0x30], eax
call fcn.100b4ca0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d262d
lea eax, [ebp - 0x70]
push eax
push 0x1026c1b8
push edi
call fcn.100b64e0
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d262d
movzx ecx, word [ebp - 0x62]
movzx edx, word [ebp - 0x64]
add ecx, edx
mov dword [ebp - 0x24], eax
test ecx, ecx
jle 0x100d25b7
xor ecx, ecx
nop
lea eax, [ebx + ecx*8 + 0x10]
push eax
push edi
call fcn.100b4ca0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d262d
lea ecx, [ebp - 0x98]
push ecx
push 0x1026c1d8
push edi
call fcn.100b64e0
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d262d
test dword [ebp - 0x30], 0x80000000
jne 0x100d2301
cmp dword [ebp - 0x2c], 8
jne 0x100d2598
mov edx, dword [ebp - 0x94]
add edx, dword [ebp - 8]
push edx
push edi
call fcn.100b4ca0
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d262d
lea ecx, [ebp - 0xa8]
push ecx
push 0x1026c1e8
push edi
call fcn.100b64e0
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d262d
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp edx, dword [esi]
jne 0x100d2596
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 4]
push eax
push 0xac
push ecx
call fcn.100b6710
mov ecx, eax
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [esi + 0x84], ecx
test eax, eax
jne 0x100d262d
mov edx, dword [ebp - 0xa8]
sub edx, dword [ebp - 0x44]
add edx, dword [ebp - 0x3c]
mov dword [ecx], edx
mov eax, dword [esi + 0x84]
mov ecx, dword [ebp - 0xa4]
mov dword [eax + 0xa4], ecx
mov eax, dword [esi + 0x84]
call fcn.100d1f40
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d2620
inc dword [esi]
mov ecx, dword [ebp - 0x24]
movzx edx, word [ebp - 0x62]
movzx esi, word [ebp - 0x64]
inc ecx
mov dword [ebp - 0x24], ecx
movzx ecx, cx
add edx, esi
cmp ecx, edx
jl 0x100d24a0
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
movzx edx, word [ebp - 0x82]
movzx ebx, word [ebp - 0x84]
inc ecx
mov dword [ebp - 0x20], ecx
movzx ecx, cx
add edx, ebx
cmp ecx, edx
jl 0x100d2407
mov ecx, dword [ebp - 0x10]
movzx edx, word [ebp - 0x72]
movzx esi, word [ebp - 0x74]
inc ecx
mov dword [ebp - 0x10], ecx
movzx ecx, cx
add edx, esi
cmp ecx, edx
jl 0x100d2360
mov esi, dword [ebp + 8]
mov ecx, dword [esi]
test ecx, ecx
je 0x100d2301
cmp dword [ebp + 0xc], ecx
jge 0x100d2196
test eax, eax
je 0x100d262d
mov edi, esi
call fcn.100d1ee0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov edi, esi
call fcn.100d1ee0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret