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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x128
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, dword [0x6e46000]
xor eax, ebp
mov dword [esp + 0x120], eax
mov eax, dword [edi + 0x90]
mov dword [esp + 0x24], eax
call fcn.38410f30
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x30]
mov ecx, dword [eax + 4]
add eax, 4
push eax
call dword [ecx + 0xc]
add esp, 4
xor esi, esi
mov ecx, ebx
test al, al
jne 0x38407a40
mov ecx, esi
mov dword [edi + 0x90], ecx
push dword [ebx + 0x28]
call fcn.38411060
add esp, 4
mov edx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x38]
lea ecx, [edx + 1]
mov dword [ebx + 0x14], ecx
test eax, eax
je 0x38407f82
mov esi, 0x8000004f
test edx, edx
jg 0x38407f82
lea edi, [ebx + 0x38]
mov ecx, dword [eax + 0x2a4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x29c]
mov dword [esp + 0x18], ecx
mov eax, dword [eax + 0x2a0]
mov dword [esp + 0x14], eax
mov dword [esp + 0x60], 0x6db1408
call fcn.38410f30
mov ecx, 0xffffffff
test eax, eax
mov dword [esp + 4], edi
je 0x38407af6
mov esi, dword [eax + 0x3c]
test esi, esi
je 0x38407af6
mov eax, dword [esi]
mov ecx, dword [esi + 4]
sub ecx, eax
mov edx, ecx
sar edx, 2
mov ecx, dword [esi + 0xc]
mov edi, ecx
cmp edx, ecx
ja 0x38407ae2
mov ecx, esi
call fcn.38426f20
mov ecx, 0xffffffff
test al, al
mov edi, dword [esp + 4]
je 0x38407af6
mov eax, dword [esi]
mov edi, dword [esi + 0xc]
lea ecx, [esp + 0x60]
mov dword [eax + edi*4], ecx
mov ecx, dword [esi + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0xc], eax
mov edi, dword [esp + 4]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x60], 0x6db14c8
mov byte [esp + 0x68], 1
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x74], eax
mov edi, dword [edi]
mov byte [edi + 0x2b4], 0
call fcn.38410f30
mov dword [eax + 0x38], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov word [esp + 0x58], 0
lea eax, [esp + 0x28]
mov dword [esp + 0x40], eax
mov ecx, dword [edi + 0x2a4]
mov edx, dword [ecx]
push 0
push 0
push 3
push eax
call dword [edx + 0x1d8]
mov dword [esp + 0x11c], 0
call fcn.38410f30
test eax, eax
je 0x38407be7
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x38407be7
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x118], ecx
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x11c], ecx
lea ecx, [esp + 0xd8]
mov dword [eax + 0x10], ecx
jmp 0x38407bf2
mov dword [esp + 0x118], 0xffffffff
lea eax, [esp + 0xd8]
push 0
push eax
call 0x38731148
add esp, 8
test eax, eax
je 0x38407d62
call fcn.38426fe0
test eax, eax
je 0x38407d62
mov esi, eax
mov edi, eax
mov eax, dword [esi]
mov ecx, esi
push 0x6e3efdf
call dword [eax + 4]
test al, al
mov dword [esp], esi
je 0x38407dc4
cmp byte [edi + 8], 0
je 0x38407dc4
call fcn.38410f30
test eax, eax
je 0x38407c68
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x38407c68
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x38407c68
mov edx, dword [ecx + 0x40]
mov dword [eax + 0xc], edx
mov edx, dword [ecx + 0x44]
mov dword [eax + 0x10], edx
mov dword [ecx + 0x40], 0xffffffff
mov dword [esp + 0x78], 0x6db1408
call fcn.38410f30
mov ecx, 0xffffffff
test eax, eax
je 0x38407cd2
mov edi, dword [eax + 0x3c]
mov ecx, 0xffffffff
test edi, edi
je 0x38407cd2
mov eax, dword [edi]
mov ecx, dword [edi + 4]
sub ecx, eax
mov edx, ecx
sar edx, 2
mov ecx, dword [edi + 0xc]
mov dword [esp + 0xc], eax
mov eax, ecx
cmp edx, ecx
ja 0x38407cbe
mov ecx, edi
call fcn.38426f20
mov ecx, 0xffffffff
test al, al
je 0x38407cd2
mov eax, dword [edi]
mov ecx, dword [edi + 0xc]
mov dword [esp + 0xc], eax
mov eax, ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x78]
mov dword [ecx + eax*4], edx
mov ecx, dword [edi + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0xc], eax
mov dword [esp + 0x7c], ecx
mov eax, dword [esp]
mov al, byte [eax + 8]
mov byte [esp + 0x80], al
mov dword [esp + 0x78], 0x6db1400
mov dword [esp + 0x84], 0x6db1408
call fcn.38410f30
test eax, eax
je 0x38407fb7
mov edi, dword [eax + 0x3c]
test edi, edi
je 0x38407fb7
mov eax, dword [edi]
mov ecx, dword [edi + 4]
sub ecx, eax
mov edx, ecx
sar edx, 2
mov ecx, dword [edi + 0xc]
mov dword [esp + 8], eax
mov eax, ecx
cmp edx, ecx
ja 0x38407d46
mov ecx, edi
call fcn.38426f20
mov ecx, 0xffffffff
test al, al
je 0x38407fbc
mov eax, dword [edi]
mov ecx, dword [edi + 0xc]
mov dword [esp + 8], eax
mov eax, ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x84]
mov dword [ecx + eax*4], edx
mov ecx, dword [edi + 0xc]
lea eax, [ecx + 1]
mov dword [edi + 0xc], eax
jmp 0x38407fbc
mov ecx, dword [edi + 0x29c]
call fcn.38471fb0
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x1c]
mov esi, dword [ebx + 0x3c]
test esi, esi
je 0x38407e4b
mov edi, dword [esi]
test edi, edi
je 0x38407e42
mov eax, dword [esi + 4]
cmp eax, edi
je 0x38407e34
mov dword [esp + 0x10], esi
jmp 0x38407daa
mov eax, esi
cmp edi, esi
je 0x38407e2c
mov esi, eax
mov ecx, dword [eax - 4]
add esi, 0xfffffff8
test ecx, ecx
je 0x38407da0
add dword [ecx + 4], 0xffffffff
jne 0x38407da0
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x38407da0
mov eax, dword [edi]
mov ecx, edi
push 0x6e3efef
call dword [eax + 4]
test al, al
je 0x384080a8
cmp byte [edi + 8], 0
jne 0x384080a8
call fcn.38410f30
test eax, eax
mov edi, dword [ebp + 0xc]
mov esi, 0
je 0x38407e14
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x38407e14
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x38407e14
mov edx, dword [ecx + 0x40]
mov dword [eax + 0xc], edx
mov edx, dword [ecx + 0x44]
mov dword [eax + 0x10], edx
mov dword [ecx + 0x40], 0xffffffff
mov ecx, dword [esp]
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esp + 0x118], 0xffffffff
jne 0x38407e99
jmp 0x38407ec3
mov esi, dword [esp + 0x10]
mov eax, dword [esi]
jmp 0x38407e36
mov eax, edi
mov dword [esi + 4], edi
push eax
call fcn.38410d10
add esp, 4
push esi
call fcn.38410d10
add esp, 4
mov esi, dword [ebx + 0x44]
test esi, esi
je 0x38407e66
lea ecx, [esi + 4]
push dword [esi + 8]
call fcn.3840e7c0
push esi
call fcn.38410d10
add esp, 4
mov esi, dword [ebx + 0x40]
test esi, esi
mov edi, dword [ebp + 0xc]
je 0x38407e84
lea ecx, [esi + 4]
push dword [esi + 8]
call fcn.3840e810
push esi
call fcn.38410d10
add esp, 4
mov ecx, ebx
push 1
call fcn.38403120
xor esi, esi
cmp dword [esp + 0x118], 0xffffffff
je 0x38407ec3
call fcn.38410f30
test eax, eax
je 0x38407ec3
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x38407ec3
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x38407ec3
mov edx, dword [ecx + 0x40]
mov dword [eax + 0xc], edx
mov edx, dword [ecx + 0x44]
mov dword [eax + 0x10], edx
mov dword [ecx + 0x40], 0xffffffff
mov dword [ebx + 0x2c], 0
mov eax, dword [esp + 4]
mov dword [eax + 0xc], 0
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
lea ecx, [esp + 0x28]
call fcn.385fea10
lea ecx, [esp + 0x60]
call fcn.38407930
mov ecx, dword [ebx + 0x28]
call fcn.385f3430
push dword [ebx + 0x28]
call fcn.38411100
add esp, 4
mov dword [ebx + 0x28], 0
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x38407f35
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x38407f35
push eax
push edi
push ecx
call fcn.3840f5f0
add esp, 0xc
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x60], 0xffffffff
mov dword [ebx + 0x64], 0xffffffff
mov dword [ebx + 0x68], 0xffffffff
mov dword [ebx + 0x6c], 0xffffffff
mov dword [ebx + 0x70], 0xffffffff
mov dword [ebx + 0x74], 0xffffffff
mov dword [ebx + 0x78], 0xffffffff
mov dword [ebx + 0x7c], 0xffffffff
mov byte [ebx + 0x51], 0
mov ecx, dword [ebx + 0x14]
mov eax, dword [esp + 0x20]
add ecx, 0xffffffff
mov dword [ebx + 0x14], ecx
push eax
call fcn.38411060
add esp, 4
mov eax, dword [esp + 0x24]
mov dword [edi + 0x90], eax
mov ecx, dword [esp + 0x120]
xor ecx, ebp
call 0x387310a4
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0xffffffff
mov dword [esp + 0x88], ecx
mov edx, dword [esp]
mov al, byte [edx + 0x14]
mov byte [esp + 0x8c], al
mov dword [esp + 0x84], 0x6db24ac
lea edi, [esp + 0x90]
add esi, 0x18
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
mov eax, dword [edx]
mov ecx, edx
push 0
call dword [eax]
mov dword [esp + 0x78], 0x6db1400
mov dword [esp + 0x84], 0x6db1408
mov esi, dword [esp + 0x88]
cmp esi, 0xffffffff
mov edi, dword [ebp + 0xc]
je 0x3840804c
call fcn.38410f30
test eax, eax
je 0x3840804c
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x3840804c
mov ecx, dword [eax]
mov dword [ecx + esi*4], 0
lea ecx, [esi + 1]
cmp ecx, dword [eax + 0xc]
jne 0x3840804c
mov ecx, esi
test esi, esi
je 0x38408049
mov edx, dword [eax]
lea esi, [ecx - 1]
cmp dword [edx + ecx*4 - 4], 0
je 0x38408037
mov dword [eax + 0xc], ecx
mov dword [esp + 0x78], 0x6db1408
mov esi, dword [esp + 0x7c]
cmp esi, 0xffffffff
je 0x38407e8d
call fcn.38410f30
test eax, eax
je 0x38407e8d
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x38407e8d
mov ecx, dword [eax]
mov dword [ecx + esi*4], 0
lea ecx, [esi + 1]
cmp ecx, dword [eax + 0xc]
jne 0x38407e8d
mov ecx, esi
test esi, esi
je 0x384080a0
mov edx, dword [eax]
lea esi, [ecx - 1]
cmp dword [edx + ecx*4 - 4], 0
je 0x3840808e
mov dword [eax + 0xc], ecx
jmp 0x38407e8d
call fcn.38405bf0
push edi
call fcn.38426cc0
int3