Function at 0xdb1005
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0xdb1025
xor eax, eax
jmp 0xdb11ff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x1c]
cmp dword [eax], 0x4550
je 0xdb1043
xor eax, eax
jmp 0xdb11ff
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 4]
cmp eax, 0x14c
jne 0xdb105f
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0x14]
cmp eax, 0xe0
je 0xdb1066
xor eax, eax
jmp 0xdb11ff
mov eax, dword [ebp - 0x1c]
add eax, 0x78
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0xdb107f
xor eax, eax
jmp 0xdb11ff
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x18], 0
je 0xdb109c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x14], 0
jne 0xdb10a3
xor eax, eax
jmp 0xdb11ff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x18], ecx
or dword [ebp - 8], 0xffffffff
and dword [ebp - 0x20], 0
jmp 0xdb10dd
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xc]
add eax, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
inc eax
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 0x18]
jae 0xdb11cf
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x24]
movsx eax, byte [eax]
test eax, eax
je 0xdb119c
mov eax, dword [ebp - 0x28]
movsx eax, byte [eax]
test eax, eax
je 0xdb119c
mov eax, dword [ebp - 0x24]
mov al, byte [eax]
mov byte [ebp - 0x29], al
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
mov al, byte [eax]
mov byte [ebp - 0x2a], al
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
movsx eax, byte [ebp - 0x29]
movsx ecx, byte [ebp - 0x2a]
cmp eax, ecx
jne 0xdb1145
jmp 0xdb10fd
movsx eax, byte [ebp - 0x29]
cmp eax, 0x41
jl 0xdb1161
movsx eax, byte [ebp - 0x29]
cmp eax, 0x5a
jg 0xdb1161
movsx eax, byte [ebp - 0x29]
or eax, 0x20
mov byte [ebp - 0x29], al
movsx eax, byte [ebp - 0x2a]
cmp eax, 0x41
jl 0xdb117d
movsx eax, byte [ebp - 0x2a]
cmp eax, 0x5a
jg 0xdb117d
movsx eax, byte [ebp - 0x2a]
or eax, 0x20
mov byte [ebp - 0x2a], al
movsx eax, byte [ebp - 0x29]
movsx ecx, byte [ebp - 0x2a]
cmp eax, ecx
jne 0xdb118e
jmp 0xdb10fd
mov dword [ebp - 0x30], 1
jmp 0xdb11b9
mov eax, dword [ebp - 0x24]
movsx eax, byte [eax]
mov ecx, dword [ebp - 0x28]
movsx ecx, byte [ecx]
cmp eax, ecx
je 0xdb11b5
mov dword [ebp - 0x30], 1
jmp 0xdb11b9
and dword [ebp - 0x30], 0
cmp dword [ebp - 0x30], 0
jne 0xdb11ca
mov eax, dword [ebp - 0x18]
movzx eax, word [eax]
mov dword [ebp - 8], eax
jmp 0xdb11cf
jmp 0xdb10c5
cmp dword [ebp - 8], 0xffffffff
jne 0xdb11d9
xor eax, eax
jmp 0xdb11ff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
cmp ecx, dword [eax + 0x14]
jbe 0xdb11e8
xor eax, eax
jmp 0xdb11ff
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x1c]
mov ecx, dword [ebp - 8]
lea eax, [eax + ecx*4]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax]
mov eax, edx
leave
ret