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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
mov eax, 0x25d0
call fcn.007ce210
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [eax], 0
lea eax, [esp + 0x68]
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0068e160
mov edi, eax
and eax, 1
inc eax
xor eax, edi
sete al
movzx eax, al
cmp edi, eax
jne 0x68d491
mov esi, dword [ebp + 8]
mov ebx, dword [esp + 0x68]
mov dword [esp], esi
mov dword [esp + 4], 0x40
call sub.KERNEL32.dll_IsBadReadPtr
sub esp, 8
mov edi, 0x7d2
test eax, eax
jne 0x68d491
cmp esi, 0x1000
jae 0x68d3ae
mov edi, 0x16
jmp 0x68d491
movzx eax, word [esi]
cmp eax, 0x5a4d
jne 0x68d485
mov eax, esi
and eax, 0xfff
mov ecx, eax
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete cl
movzx ecx, cl
cmp eax, ecx
jne 0x68d48c
mov eax, dword [esi + 0x3c]
cmp dword [esi + eax], 0x4550
jne 0x68d491
lea edi, [esi + eax]
mov dword [esp + 0x60], edi
movzx ecx, word [edi + 6]
mov dword [esp + 0x58], ecx
movzx edx, word [edi + 0x14]
mov dword [esp + 0x5c], edx
lea ecx, [ecx + ecx*4]
add eax, edx
lea edx, [eax + ecx*8 + 0x18]
mov dword [esp + 0x64], edx
mov ecx, dword [edi + 0x54]
lea eax, [ecx - 0x110]
cmp eax, edx
mov edi, 0x7d3
jb 0x68d491
imul eax, eax
and eax, 3
cmp eax, 2
je 0x68d491
mov eax, dword [esp + 0x60]
lea eax, [eax + 0x18]
mov dword [esp + 0x50], eax
mov eax, ecx
add eax, 0xfffffde0
xor ecx, ecx
cmp dword [esi + eax + 0x110], 0x6472676d
jne 0x68d491
mov edx, eax
mov eax, ecx
and eax, 1
xor eax, ecx
cmp eax, 0xffffffff
setne al
cmp dword [esi + edx + 0x118], ebx
je 0x68d49b
cmp edx, dword [esp + 0x64]
jb 0x68d491
movzx eax, al
add ecx, eax
cmp ecx, 3
ja 0x68d491
mov eax, edx
add eax, 0xfffffef0
xor edx, edx
test dl, dl
je 0x68d441
jmp 0x68d491
mov edi, 0x16
jmp 0x68d491
mov edi, 0x16
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 0x48], edx
cmp esi, 0x1001
mov edi, 0x16
mov esi, dword [esp + 0x5c]
jb 0x68d491
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 4]
mov dword [esp + 0x4c], eax
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x58]
movzx ecx, ax
cmp ecx, 0x20
mov ax, 0x20
cmova cx, ax
test cx, cx
je 0x68d523
mov eax, 0xffffffff
mov edx, dword [esp + 0x60]
lea edx, [edx + esi + 0x18]
add eax, 1
jb 0x68d4e6
add edx, 0x10
mov eax, dword [esp + 0x54]
cmp dword [edx - 4], eax
je 0x68d515
dec ecx
movzx eax, cx
mov edi, eax
imul edi, edi
and edi, 3
cmp edi, 3
sete bl
add edx, 0x28
movzx edi, bl
cmp eax, edi
jne 0x68d4ee
jmp 0x68d523
mov eax, dword [edx - 8]
mov ecx, dword [edx]
cmp eax, ecx
cmovb ecx, eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0x50]
movzx eax, word [eax]
cmp eax, 0x20b
sete cl
mov edx, 3
sub edx, eax
xor edx, eax
setne al
and al, cl
jne 0x68d55b
mov ecx, dword [esp + 0x50]
mov ecx, dword [ecx + 0x1c]
cmp ecx, dword [ebp + 8]
jne 0x68d55b
imul ecx, ecx
and ecx, 3
xor ebx, ebx
cmp ecx, 2
jb 0x68d5a3
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x60]
cmp dword [edx - 8], ecx
je 0x68d5a3
xor ecx, ecx
test cl, cl
jne 0x68d5a3
mov edi, dword [esp + 0x50]
lea edx, [edi + 0x70]
add edi, 0x60
test al, 1
cmovne edi, edx
mov eax, dword [edi + 0x28]
xor ebx, ebx
test eax, eax
jne 0x68d592
jmp 0x68d5a3
inc ecx
mov ebx, dword [edi + 0x2c]
test ebx, ebx
cmovne ebx, eax
test ecx, ecx
jne 0x68d5a3
mov edx, ecx
not edx
and edx, 1
neg edx
cmp edx, ecx
jne 0x68d589
mov dword [esp + 0x64], ebx
mov eax, dword [esp + 0x4c]
lea eax, [esi + eax + 0x18]
mov dword [esp + 0x38], eax
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.00493840
mov ebx, eax
test ebx, ebx
mov edx, dword [ebp + 8]
jne 0x68d5e3
mov eax, ebx
or eax, 2
mov ecx, ebx
xor ecx, 2
add ecx, eax
mov edi, 0xc
jne 0x68d491
add esi, 0x18
mov dword [esp + 8], esi
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
mov dword [esp], ebx
mov edi, esi
mov esi, edx
call fcn.007ce510
add edi, ebx
mov dword [esp + 0x58], ebx
mov eax, dword [esp + 0x54]
lea eax, [esi + eax]
mov ebx, edi
mov ecx, dword [esp + 0x4c]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.007ce510
mov ecx, dword [esp + 0x64]
mov eax, ecx
imul eax, eax
and eax, 3
cmp eax, 2
sete al
movzx eax, al
cmp ecx, eax
je 0x68d8e8
mov dword [esp + 0x5c], ebx
mov edi, 0x16
mov ecx, dword [ebp + 8]
movzx eax, word [ecx]
cmp eax, 0x5a4d
jne 0x68d6c1
mov edx, dword [ecx + 0x3c]
mov eax, dword [ecx + edx]
mov esi, ecx
mov edi, 0x7d2
cmp eax, 0x4550
jne 0x68d6c1
mov ecx, eax
not ecx
and ecx, 1
add ecx, eax
je 0x68d6c1
add edx, esi
lea eax, [edx + 0x18]
mov dword [esp + 0x64], eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [edx + 0x2c]
mov dword [esp + 0x40], eax
movzx eax, word [edx + 0x18]
mov dword [esp + 0x60], eax
cmp eax, 0x20b
jne 0x68d6d2
xor eax, eax
jmp 0x68d6aa
xor ecx, eax
setne cl
movzx ecx, cl
add eax, ecx
mov esi, dword [edx - 8]
mov ecx, 3
sub ecx, eax
mov edi, eax
xor edi, ecx
setne bl
movzx edi, bl
cmp eax, edi
jb 0x68d69d
jmp 0x68d6d9
mov eax, dword [esp + 0x58]
mov dword [esp], eax
call fcn.004936c0
jmp 0x68d491
mov eax, dword [esp + 0x64]
mov esi, dword [eax + 0x1c]
mov dword [esp + 0x50], esi
movzx ecx, word [edx + 6]
cmp ecx, 0x20
mov ax, 0x20
cmovbe ax, cx
test ax, ax
je 0x68d75f
movzx ecx, word [edx + 0x14]
dec eax
movzx ebx, ax
lea ecx, [edx + ecx + 0x28]
mov eax, dword [ecx - 4]
cmp eax, dword [esp + 0x40]
je 0x68d721
mov edi, eax
and edi, 1
inc edi
xor edi, eax
je 0x68d721
test bx, bx
je 0x68d75f
dec ebx
add ecx, 0x28
mov al, 1
test al, al
jne 0x68d6fd
jmp 0x68d75f
xor ebx, ebx
mov dword [esp + 0x3c], eax
jmp 0x68d74b
mov eax, ebx
or eax, 2
mov edi, ebx
xor edi, 2
add edi, eax
setne al
movzx eax, al
add ebx, eax
mov eax, dword [ecx - 8]
mov esi, dword [ecx]
cmp eax, esi
cmovb esi, eax
mov dword [esp + 0x3c], esi
mov eax, ebx
and eax, 1
xor eax, ebx
cmp eax, 0xffffffff
setne al
movzx eax, al
cmp ebx, eax
jb 0x68d729
mov eax, dword [esp + 0x60]
movzx eax, ax
cmp eax, 0x20b
mov ebx, dword [esp + 0x5c]
mov edi, dword [esp + 0x64]
je 0x68d781
mov ecx, dword [ebp + 8]
cmp dword [edi + 0x1c], ecx
je 0x68d8e8
mov ecx, dword [ebp + 8]
cmp dword [edx - 8], ecx
je 0x68d8e8
lea ecx, [edi + 0x70]
add edi, 0x60
cmp eax, 0x20b
cmove edi, ecx
mov edx, dword [edi + 0x28]
test edx, edx
je 0x68d8e8
mov edi, dword [edi + 0x2c]
test edi, edi
je 0x68d8e8
mov eax, dword [ebp + 8]
mov esi, dword [eax + edx + 4]
mov ecx, esi
imul ecx, ecx
and ecx, 3
cmp ecx, 3
sete cl
cmp edi, 9
jb 0x68d8e8
movzx ecx, cl
cmp esi, ecx
je 0x68d8e8
mov eax, dword [ebp + 8]
mov ecx, eax
sub ecx, dword [esp + 0x50]
mov dword [esp + 0x60], ecx
lea ecx, [eax + edx]
mov dword [esp + 0x34], ecx
lea eax, [eax + edx + 4]
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edx
cmp esi, 9
mov edi, 0
jb 0x68d8a8
jmp 0x68d80f
inc edi
test edi, edi
jne 0x68d820
mov ecx, edi
not ecx
and ecx, 1
neg ecx
cmp ecx, edi
jne 0x68d80e
mov dword [esp + 0x50], 8
xor edi, edi
mov edx, dword [esp + 0x34]
movzx eax, word [edx + edi*2 + 8]
mov ecx, eax
and ecx, 0xfff
mov edx, dword [edx]
sub edx, dword [esp + 0x40]
add edx, ecx
cmp edx, dword [esp + 0x3c]
jae 0x68d8a8
mov dword [esp + 0x44], edi
shr eax, 0xc
mov ecx, 0xffffffff
cmp eax, 0xa
je 0x68d889
cmp eax, 3
jne 0x68d88e
mov eax, dword [esp + 0x60]
sub dword [ebx + edx], eax
jmp 0x68d88e
mov esi, dword [esp + 0x60]
mov eax, esi
sar eax, 0x1f
mov dword [esp + 0x64], eax
mov edi, dword [ebx + edx]
mov eax, dword [ebx + edx + 4]
sub edi, esi
sbb eax, dword [esp + 0x64]
mov dword [ebx + edx], edi
mov dword [ebx + edx + 4], eax
add ecx, 1
jb 0x68d868
mov ecx, dword [esp + 0x50]
add ecx, 2
mov dword [esp + 0x50], ecx
mov edi, dword [esp + 0x44]
inc edi
mov eax, dword [esp + 0x30]
mov esi, dword [eax]
cmp ecx, esi
jb 0x68d82a
mov eax, dword [esp + 0x28]
mov ecx, eax
sub ecx, esi
mov edx, dword [esp + 0x2c]
jbe 0x68d8e8
imul eax, eax
and eax, 3
cmp eax, 1
ja 0x68d8e8
cmp ecx, 9
jb 0x68d8e8
add edx, esi
mov eax, dword [ebp + 8]
lea esi, [eax + edx]
mov dword [esp + 0x34], esi
lea esi, [eax + edx + 4]
mov dword [esp + 0x30], esi
mov esi, dword [eax + edx + 4]
test esi, esi
mov edi, ecx
jne 0x68d7f6
mov dword [esp + 0x5c], ebx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x3c]
movzx ecx, word [eax + edx + 0x18]
mov esi, eax
cmp ecx, 0x20b
jne 0x68d946
mov dword [esp + 0x64], ecx
xor eax, eax
mov ebx, 0xffffffff
mov dword [esp + 0x60], edx
jmp 0x68d933
inc eax
mov ecx, dword [esp + 0x60]
movsd xmm0, qword [esi + ecx - 8]
mov ecx, dword [esp + 0x58]
movsd qword [ecx + 0x30], xmm0
mov edx, dword [esi + 0x3c]
movzx ecx, word [esi + edx + 0x18]
mov dword [esp + 0x64], ecx
dec ebx
mov edi, eax
and edi, 1
xor edi, ebx
setne cl
movzx ecx, cl
cmp eax, ecx
jb 0x68d912
jmp 0x68d94a
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x64]
movzx ecx, ax
mov eax, ecx
imul eax, eax
and eax, 3
cmp eax, 2
lea eax, [esi + edx + 0x88]
lea edx, [esi + edx + 0x78]
cmovae eax, edx
cmp ecx, 0x20b
cmovne eax, edx
mov edi, dword [eax + 0x60]
test edi, edi
jne 0x68d995
mov eax, dword [eax + 0x64]
mov ecx, eax
and ecx, 1
inc ecx
xor ecx, eax
sete cl
movzx ecx, cl
cmp eax, ecx
je 0x68da69
jmp 0x68d998
mov eax, dword [eax + 0x64]
mov ecx, dword [esp + 0x4c]
add ecx, dword [esp + 0x54]
mov dword [esp + 0x4c], ecx
sub ecx, edi
mov dword [esp + 0x64], ecx
ja 0x68d9b6
mov dl, 1
test dl, dl
jne 0x68da69
lea esi, [eax + edi]
cmp esi, dword [esp + 0x54]
jbe 0x68da69
mov edx, esi
or edx, 2
mov ebx, esi
xor ebx, 2
add ebx, edx
je 0x68da69
mov ecx, edi
sub ecx, dword [esp + 0x54]
mov dword [esp + 0x60], ecx
jb 0x68da1f
mov edx, edi
imul edx, edx
and edx, 3
cmp edx, 3
je 0x68da1f
xor ecx, ecx
mov edx, esi
imul edx, edx
and edx, 3
jmp 0x68da0c
inc ecx
cmp edx, 2
mov edi, eax
cmovb edi, dword [esp + 0x64]
cmp esi, dword [esp + 0x4c]
cmovbe edi, eax
test ecx, ecx
jne 0x68da2d
mov ebx, ecx
not ebx
and ebx, 1
neg ebx
cmp ebx, ecx
jne 0x68d9fa
jmp 0x68da2d
sub edi, dword [esp + 0x54]
add edi, eax
mov dword [esp + 0x60], 0
xor ebx, ebx
mov esi, dword [esp + 0x5c]
add esi, dword [esp + 0x60]
jmp 0x68da53
mov eax, ebx
imul eax, eax
and eax, 3
cmp eax, 2
adc ebx, 0
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.007cd970
mov eax, ebx
or eax, 2
mov ecx, ebx
xor ecx, 2
add ecx, eax
setne al
movzx eax, al
cmp ebx, eax
jb 0x68da39
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x48]
mov eax, dword [eax + ecx + 0x114]
mov dword [esp + 0x64], eax
mov dword [esp], str.rmd160
call fcn.007b2840
mov esi, eax
mov dword [esp + 8], 0xc8
mov dword [esp + 4], 0x7ed7d4
mov dword [esp], 0x818c64
call fcn.007ce510
mov dword [esp + 0x6c], 0x14
lea eax, [esp + 0x6c]
mov dword [esp + 0x10], eax
lea ebx, [esp + 0x25b8]
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.007b4040
mov edi, 0x7d6
test eax, eax
jne 0x68db8e
mov dword [esp], str.sober128
call fcn.007ae810
lea ecx, [esp + 0x70]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp], pe_nt_image_headers32
call fcn.007ae8d0
test eax, eax
jne 0x68db8e
imul eax, eax
and eax, 3
cmp eax, 1
ja 0x68db8e
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x48]
lea eax, [eax + ecx + 0x11c]
mov ecx, dword [esp + 0x6c]
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], 3
call fcn.007af7f0
mov ecx, eax
and ecx, 1
inc ecx
xor ecx, eax
sete cl
movzx ecx, cl
xor edx, edx
cmp eax, ecx
mov edi, 0x7d6
cmove edi, edx
xor esi, esi
mov ebx, dword [esp + 0x58]
jmp 0x68db9f
inc esi
mov dword [esp], ebx
call fcn.004936c0
mov eax, esi
not eax
and eax, 1
add eax, esi
setne al
movzx eax, al
cmp esi, eax
jae 0x68d491
jmp 0x68db96