Function at 0x3f08ce0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x4c
push ebx
mov ebx, dword [esp + 0x58]
push ebp
mov ebp, dword [esp + 0x58]
push esi
push edi
mov edi, dword [ebx + 0x3c]
add edi, ebx
cmp dword [esp + 0x68], 0
mov dword [esp + 0x10], edi
jne 0x3f08d2f
mov esi, dword [0x100df1ac]
push 0x40
push 0x102000
push dword [edi + 0x50]
push dword [edi + 0x34]
push ebp
call esi
push 0x40
push 0x101000
push dword [edi + 0x50]
test eax, eax
je 0x3f08d26
push eax
jmp 0x3f08d28
push 0
push ebp
call esi
mov dword [esp + 0x68], eax
mov esi, dword [edi + 0x50]
push 4
push 0x1000
push esi
push 0
mov dword [esp + 0x28], esi
call dword [0x100df09c]
mov ebp, eax
push esi
push ebp
mov dword [esp + 0x1c], ebp
call fcn.03f03a70
push dword [edi + 0x54]
push ebx
push ebp
call fcn.03f03930
movzx eax, word [edi + 0x14]
xor ecx, ecx
add eax, 0x18
mov dword [esp + 0x34], 0
add eax, edi
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp cx, word [edi + 6]
jae 0x3f08e25
lea ecx, [eax + 0x10]
mov dword [esp + 0x24], ecx
mov eax, dword [ecx - 8]
xor edx, edx
mov esi, dword [ecx + 4]
mov ebx, esi
mov dword [esp + 0x1c], eax
and ebx, 0xfffffe00
mov eax, dword [ecx]
add eax, esi
mov ebp, dword [esp + 0x10]
div dword [edi + 0x3c]
mov edi, eax
mov eax, dword [ebp + 0x3c]
imul edi, eax
test edx, edx
je 0x3f08db5
add edi, eax
mov eax, dword [ecx]
sub esi, ebx
add eax, esi
xor edx, edx
mov esi, dword [ebp + 0x38]
div esi
mov ebp, dword [esp + 0x14]
imul eax, esi
test edx, edx
je 0x3f08dcf
add eax, esi
mov esi, dword [ecx - 4]
add eax, ebx
push dword [esp + 0x1c]
cmp eax, edi
cmovb edi, eax
add esi, ebp
push esi
sub edi, ebx
call fcn.03f03a70
cmp dword [esp + 0x24], edi
mov eax, dword [esp + 0x6c]
cmovb edi, dword [esp + 0x24]
add eax, ebx
push edi
push eax
push esi
call fcn.03f03930
mov edi, dword [esp + 0x24]
add esp, 0x14
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
inc edx
add ecx, 0x28
mov dword [esp + 0x20], edx
movzx eax, word [edi + 6]
mov dword [esp + 0x24], ecx
cmp edx, eax
jl 0x3f08d88
mov ebx, dword [edi + 0x80]
add ebx, ebp
cmp dword [esp + 0x70], 0
mov dword [esp + 0x24], ebx
je 0x3f08fac
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x3f08fac
add eax, ebp
push eax
mov dword [esp + 0x74], eax
call dword [0x100df1e0]
mov esi, dword [ebx + 0x10]
mov edi, eax
mov eax, dword [ebx]
add esi, ebp
test eax, eax
jne 0x3f08e69
mov ecx, esi
mov dword [esp + 0x64], esi
jmp 0x3f08e70
lea ecx, [eax + ebp]
mov dword [esp + 0x64], ecx
mov eax, dword [ecx]
test eax, eax
je 0x3f08f96
jns 0x3f08ea4
cmp dword [esp + 0x78], 0
movzx eax, ax
push eax
push edi
je 0x3f08e97
call fcn.03f09370
add esp, 8
mov dword [esi], eax
jmp 0x3f08f7a
call dword [0x100df0bc]
mov dword [esi], eax
jmp 0x3f08f7a
lea ebx, [ebp + 2]
add ebx, eax
cmp dword [esp + 0x78], 0
push ebx
push edi
je 0x3f08ebc
call fcn.03f09370
add esp, 8
jmp 0x3f08ec2
call dword [0x100df0bc]
mov ebp, eax
mov dword [esi], ebp
mov ecx, dword [0x10109618]
mov eax, dword [ecx]
call dword [eax + 0xf8]
test eax, eax
je 0x3f08f76
push 0x100eb484
push ebp
lea ecx, [esp + 0x44]
call fcn.03e37380
push eax
push 0x100ec870
push ebx
push 0x100fe574
push dword [esp + 0x84]
lea ecx, [esp + 0x48]
push 0x100fe560
push 0x100dfdac
push 2
call fcn.03e496c0
mov ecx, eax
call fcn.03e4b950
mov ecx, eax
call fcn.03e4b950
mov ecx, eax
call fcn.03e4b950
mov ecx, eax
call fcn.03e4b950
mov ecx, eax
call fcn.03e4b950
mov ecx, eax
call fcn.03e4b7c0
mov ecx, eax
call fcn.03e4b950
lea ecx, [esp + 0x30]
call fcn.03e4b6e0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x3f08f76
push eax
call fcn.03f03820
add esp, 4
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x64]
add esi, 4
add ecx, 4
mov dword [esp + 0x64], ecx
mov eax, dword [ecx]
test eax, eax
jne 0x3f08e7a
mov ebx, dword [esp + 0x24]
mov eax, dword [ebx + 0x20]
add ebx, 0x14
mov dword [esp + 0x24], ebx
test eax, eax
jne 0x3f08e47
mov edi, dword [esp + 0x10]
cmp dword [esp + 0x74], 0
je 0x3f09022
mov ebx, dword [esp + 0x68]
mov eax, dword [edi + 0xa0]
sub ebx, dword [edi + 0x34]
add eax, ebp
mov ecx, dword [edi + 0xa4]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x64], eax
je 0x3f09022
mov edi, eax
test ecx, ecx
jle 0x3f09022
jmp 0x3f08fe0
mov esi, dword [edi + 4]
lea edx, [edi + 8]
sub esi, 8
shr esi, 1
test esi, esi
jle 0x3f0901a
nop
movzx eax, word [edx]
mov ecx, eax
shr ecx, 0xc
cmp ecx, 3
je 0x3f09002
cmp ecx, 0xa
jne 0x3f0900c
and eax, 0xfff
add eax, dword [edi]
add dword [eax + ebp], ebx
add edx, 2
dec esi
jne 0x3f08ff0
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x70]
mov edi, edx
sub edx, eax
cmp edx, ecx
jl 0x3f08fe0
call dword [0x100df260]
mov esi, dword [esp + 0x60]
mov ebx, dword [esp + 0x68]
cmp eax, esi
jne 0x3f09049
mov edi, dword [esp + 0x18]
push edi
push ebp
push ebx
call fcn.03f03930
add esp, 0xc
mov dword [esp + 0x28], edi
jmp 0x3f0905b
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x1c]
push ebp
push ebx
push esi
call dword [0x100df1c0]
cmp dword [esp + 0x6c], 0
je 0x3f09162
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x64], 0
cmp cx, word [eax + 6]
jae 0x3f09162
mov ebp, dword [esp + 0x2c]
add ebp, 0x24
jmp 0x3f09090
mov edx, dword [ebp]
mov ecx, edx
movdqa xmm0, xmmword [0x100fe940]
mov eax, edx
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
add esi, ebx
shr eax, 0x1e
shr ecx, 0x1d
and eax, 1
and ecx, 1
movdqu xmmword [esp + 0x3c], xmm0
movdqa xmm0, xmmword [0x100fe950]
lea ecx, [eax + ecx*2]
mov eax, edx
shr eax, 0x1f
movdqu xmmword [esp + 0x4c], xmm0
lea eax, [eax + ecx*2]
mov ebx, dword [esp + eax*4 + 0x3c]
test edx, 0x4000000
je 0x3f090e4
or ebx, 0x200
call dword [0x100df260]
mov ecx, dword [esp + 0x60]
cmp eax, ecx
jne 0x3f0912b
add edi, esi
cmp esi, edi
jae 0x3f0913a
push 0x1c
lea eax, [esp + 0x40]
push eax
push esi
call dword [0x100df0c8]
mov ecx, edi
lea eax, [esp + 0x70]
sub ecx, esi
cmp dword [esp + 0x48], ecx
push eax
cmovb ecx, dword [esp + 0x4c]
push ebx
push ecx
push esi
call dword [0x100df0ac]
add esi, dword [esp + 0x48]
cmp esi, edi
jb 0x3f090f8
jmp 0x3f0913a
lea eax, [esp + 0x70]
push eax
push ebx
push edi
push esi
push ecx
call dword [0x100df1b0]
mov eax, dword [esp + 0x10]
add ebp, 0x28
mov ecx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
inc ecx
mov dword [esp + 0x64], ecx
movzx eax, word [eax + 6]
cmp ecx, eax
jl 0x3f09090
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x60]
push dword [esp + 0x18]
mov ebx, dword [esp + 0x6c]
push ebx
push esi
call dword [0x100df1a8]
push 0x8000
push 0
push ebp
call dword [0x100df0a0]
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x4c
ret