Function at 0x3df967
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x499d10
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4b8744]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x4b8744]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x20]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x30]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x14], eax
test eax, eax
je 0x3df9c9
mov al, byte [ebx]
cmp al, 0x2b
je 0x3df9c4
cmp al, 0x2d
jne 0x3df9c9
xor edi, edi
inc edi
jmp 0x3df9cb
xor edi, edi
mov ecx, esi
call fcn.003e1b96
mov ecx, 0x3000
and eax, ecx
cmp eax, ecx
je 0x3df9e4
mov edx, 0x4a34f0
jmp 0x3dfa08
lea eax, [edi + 2]
mov edx, 0x4a34ec
cmp eax, dword [esp + 0x14]
ja 0x3dfa08
cmp byte [ebx + edi], 0x30
jne 0x3dfa08
mov cl, byte [ebx + edi + 1]
cmp cl, 0x78
je 0x3dfa06
cmp cl, 0x58
jne 0x3dfa08
mov edi, eax
push edx
push ebx
call fcn.0044f470
mov dword [esp + 0x38], eax
push 0x2e
pop eax
mov word [esp + 0x20], ax
call fcn.0044f347
mov eax, dword [eax]
mov al, byte [eax]
mov byte [esp + 0x20], al
lea eax, [esp + 0x20]
push eax
push ebx
call fcn.0044f470
add esp, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x24]
mov ecx, esi
push eax
call fcn.003e1b27
and dword [esp + 0x80], 0
push eax
call fcn.003e1936
or dword [esp + 0x84], 0xffffffff
mov esi, eax
pop ecx
lea ecx, [esp + 0x24]
call fcn.003e1b0f
push 0x30
mov ecx, esi
call fcn.003e19d9
push 0
push dword [esp + 0x18]
lea ecx, [esp + 0x48]
mov byte [esp + 0x28], al
call fcn.003e0b2e
push 0
lea ecx, [esp + 0x44]
mov dword [esp + 0x84], 1
call fcn.003db5f9
push eax
mov eax, dword [esp + 0x18]
mov ecx, esi
add eax, ebx
push eax
push ebx
call fcn.003e0ae5
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
call fcn.003e1b27
push eax
mov byte [esp + 0x84], 2
call fcn.003e0f4e
pop ecx
mov ebx, eax
mov byte [esp + 0x80], 1
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], ebx
call fcn.003e1b0f
lea eax, [esp + 0x58]
mov ecx, ebx
push eax
call fcn.003e0acc
mov ecx, ebx
mov byte [esp + 0x80], 3
call fcn.003e0ac7
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
push dword [esp + 0x20]
mov byte [esp + 0x38], al
cmp ebx, dword [esp + 0x18]
jne 0x3dfb22
mov eax, dword [ebp + 0x24]
push eax
push ecx
lea ebx, [ecx + eax]
lea ecx, [esp + 0x4c]
call fcn.003e0a3f
jmp 0x3dfb7d
mov esi, dword [ebp + 0x24]
push dword [ebp + 0x2c]
push ecx
lea eax, [ebx + esi]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x20], eax
call fcn.003e0a3f
push dword [esp + 0x20]
lea eax, [ebx + 1]
push dword [ebp + 0x28]
lea ecx, [esp + 0x48]
push eax
call fcn.003e0a3f
mov ecx, dword [esp + 0x28]
call fcn.003e0a3a
push dword [esp + 0x10]
lea ecx, [esp + 0x44]
mov bl, al
call fcn.003db5f9
push dword [esp + 0x20]
lea ecx, [esp + 0x44]
push esi
push dword [esp + 0x18]
mov byte [eax], bl
call fcn.003e0a3f
mov ebx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x5c]
call fcn.003db5f9
mov esi, eax
jmp 0x3dfbb6
test al, al
jle 0x3dfbbc
movsx ecx, al
mov eax, ebx
sub eax, edi
cmp ecx, eax
jae 0x3dfbbc
push dword [esp + 0x34]
sub ebx, ecx
lea ecx, [esp + 0x44]
push 1
push ebx
call fcn.003e0a3f
lea eax, [esi + 1]
cmp byte [eax], 0
cmovg esi, eax
mov al, byte [esi]
cmp al, 0x7f
jne 0x3dfb8c
lea ecx, [esp + 0x40]
call fcn.003d3f17
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov dword [esp + 0x34], esi
call fcn.003e0b88
mov ebx, eax
test edx, edx
jl 0x3dfbe8
jg 0x3dfbe0
test ebx, ebx
je 0x3dfbe8
cmp ebx, esi
jbe 0x3dfbe8
sub ebx, esi
jmp 0x3dfbea
xor ebx, ebx
mov ecx, dword [esp + 0x1c]
call fcn.003e1b96
and eax, 0x1c0
cmp eax, 0x40
je 0x3dfc8d
cmp eax, 0x100
je 0x3dfc44
push ebx
push dword [ebp + 0x1c]
lea eax, [esp + 0x30]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.003e011f
add esp, 0x18
lea ecx, [esp + 0x40]
mov esi, eax
xor ebx, ebx
push edi
mov eax, dword [esi]
mov dword [ebp + 0x10], eax
mov eax, dword [esi + 4]
push ebx
mov dword [ebp + 0x14], eax
call fcn.003db5f9
push eax
push dword [esi + 4]
push dword [esi]
jmp 0x3dfca0
push edi
push 0
lea ecx, [esp + 0x48]
call fcn.003db5f9
mov esi, dword [ebp + 8]
push eax
push dword [ebp + 0x14]
lea eax, [esp + 0x34]
push dword [ebp + 0x10]
push eax
push esi
call fcn.003e00e3
mov ecx, eax
push ebx
push dword [ebp + 0x1c]
mov eax, dword [ecx]
mov dword [ebp + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [ebp + 0x14], eax
lea eax, [esp + 0x48]
push dword [ecx + 4]
push dword [ecx]
push eax
push esi
call fcn.003e011f
add esp, 0x30
xor ebx, ebx
jmp 0x3dfcb0
push edi
push 0
lea ecx, [esp + 0x48]
call fcn.003db5f9
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
lea eax, [esp + 0x38]
push eax
push dword [ebp + 8]
call fcn.003e00e3
add esp, 0x18
mov esi, dword [eax]
lea ecx, [esp + 0x40]
mov dword [ebp + 0x10], esi
mov eax, dword [eax + 4]
mov dword [esp + 0x10], eax
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x34]
sub eax, edi
push eax
push edi
call fcn.003db5f9
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x40]
push esi
push eax
push dword [ebp + 8]
call fcn.003e00e3
mov ecx, dword [esp + 0x34]
add esp, 0x18
mov edi, dword [eax]
push 0
mov dword [ebp + 0x10], edi
mov esi, dword [eax + 4]
push 0
mov dword [ebp + 0x14], esi
call fcn.003e0b6d
push ebx
push dword [ebp + 0x1c]
push esi
mov esi, dword [esp + 0x48]
push edi
push esi
push dword [ebp + 8]
call fcn.003e011f
add esp, 0x18
lea ecx, [esp + 0x58]
call fcn.003daa2f
lea ecx, [esp + 0x40]
call fcn.003daa2f
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0044aabc
mov esp, ebp
pop ebp
ret