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

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x4c
mov ebx, ecx
xor ebp, ebp
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
mov dword [esp + 0x30], eax
test ebx, ebx
je 0x8395a9
mov eax, dword [esp + 0x68]
mov edx, dword [eax*4 + 0xa21b40]
mov edi, dword [esp + 0x64]
mov dword [esp + 0x38], edx
and edi, 1
mov dword [esp + 0x2c], edi
jne 0x839182
mov eax, 1
mov dword [esp + 0x34], eax
jmp 0x8391a6
mov eax, dword [esp + 0x6c]
mov edi, dword [esp + 0x6c]
mov edx, 1
mov dword [esp + 0x34], edx
cmp edi, 4
je 0x8391a6
shr eax, 1
add edx, 1
cmp eax, 4
jne 0x839198
mov dword [esp + 0x34], edx
test esi, 2
je 0x8391b5
mov edi, 1
jmp 0x8391b7
xor edi, edi
test edi, edi
jne 0x8391c7
test esi, 1
jne 0x8391c7
xor esi, esi
jmp 0x8391cc
mov esi, 1
mov eax, dword [ebx + 8]
test eax, eax
je 0x839535
je 0x839380
test edi, edi
jne 0x839249
test esi, esi
jne 0x839249
mov edx, dword [eax]
mov dword [esp + 0x44], ebp
xor ecx, ecx
push ecx
push ecx
lea ebp, [esp + 0xc]
push ebp
push ecx
push eax
mov ebp, dword [esp + 0x58]
call dword [edx + 0x40]
test eax, eax
jne 0x839249
mov eax, dword [esp + 0x74]
test eax, eax
je 0x8392bf
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x839228
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x30]
sub edx, dword [eax*4 + 0xa21ae0]
mov dword [esp + 0x30], edx
mov eax, dword [esp + 0x30]
push eax
mov edx, dword [esp + 0x78]
push edx
push dword [esp + 0x10]
call fcn.0086b6b8
add esp, 0xc
push 0
mov eax, dword [ebx + 8]
push eax
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0xad93c0]
test eax, eax
je 0x8392b3
test ebp, ebp
je 0x8392b3
test edi, edi
jne 0x8392b3
test esi, esi
jne 0x8392b3
mov eax, dword [0xad93c4]
test al, 1
jne 0x8392b3
mov eax, dword [esp + 0x6c]
cmp eax, 0x40
jbe 0x8392b3
mov eax, dword [esp + 0x70]
cmp eax, 0x40
jbe 0x8392b3
mov esi, dword [0xacd528]
mov ebp, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x20]
xor eax, eax
shr ebp, 1
mov dword [esp + 0x20], eax
push ecx
push 1
mov edi, dword [esi]
mov ecx, dword [esp + 0x40]
push ecx
push eax
shr edx, 1
mov eax, dword [esp + 0x44]
push eax
push edx
push ebp
push esi
call dword [edi + 0x50]
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x8392d7
mov eax, ebx
add esp, 0x4c
pop ebx
pop ebp
pop esi
pop edi
ret 0x20
mov edx, dword [esp + 0x30]
push edx
push 0
push dword [esp + 0x10]
call fcn.0086b688
add esp, 0xc
jmp 0x83923e
mov edx, dword [ebx + 8]
xor ebp, ebp
mov dword [esp + 0x24], ebp
mov dword [esp], ebp
push edx
mov esi, dword [edx]
xor ebp, ebp
call dword [esi + 0x34]
test eax, eax
jbe 0x839366
lea eax, [esp + 0x24]
push eax
push ebp
mov edx, dword [ebx + 8]
push edx
mov esi, dword [edx]
call dword [esi + 0x3c]
mov edx, dword [esp + 0x20]
lea eax, [esp]
push eax
mov esi, dword [edx]
push ebp
push edx
call dword [esi + 0x3c]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x83937b
mov esi, dword [esp]
test esi, esi
je 0x83932f
xor edx, edx
push edx
push 5
push edx
push edx
push eax
push edx
push edx
push esi
call fcn.0088fd39
mov esi, dword [esp]
test esi, esi
je 0x839340
push esi
mov eax, dword [esi]
call dword [eax + 8]
mov dword [esp], 0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x839356
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov dword [esp + 0x24], 0
mov eax, dword [ebx + 8]
push eax
mov edx, dword [eax]
add ebp, 1
call dword [edx + 0x34]
cmp ebp, eax
jb 0x8392ef
mov edx, dword [ebx + 8]
push edx
mov ebp, dword [edx]
call dword [ebp + 8]
mov edx, dword [esp + 0x20]
mov dword [ebx + 8], edx
jmp 0x8392b3
mov esi, dword [esp]
jmp 0x83932f
mov edx, dword [esp + 0x6c]
shr edx, 2
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x38]
cmp edx, 0x31545844
je 0x839522
cmp edx, 0x32545844
je 0x83950d
cmp edx, 0x33545844
je 0x8393e7
cmp edx, 0x34545844
jne 0x8393c9
mov edx, dword [esp + 0x2c]
add edx, edx
add edx, edx
add edx, edx
add edx, edx
mov dword [esp + 0x2c], edx
jmp 0x8393f7
cmp edx, 0x35545844
jne 0x839249
mov edx, dword [esp + 0x2c]
add edx, edx
add edx, edx
add edx, edx
add edx, edx
mov dword [esp + 0x2c], edx
jmp 0x8393f7
mov edx, dword [esp + 0x2c]
add edx, edx
add edx, edx
add edx, edx
add edx, edx
mov dword [esp + 0x2c], edx
mov eax, dword [0xacd528]
mov edx, dword [eax]
lea ebp, [ebx + 8]
push ebp
push 1
push 0x15
push 0
mov ebp, dword [esp + 0x44]
push ebp
mov ebp, dword [esp + 0x84]
push ebp
mov ebp, dword [esp + 0x84]
push ebp
push eax
call dword [edx + 0x50]
mov edx, dword [ebx + 8]
test edx, edx
je 0x8394f2
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x70]
mov ebp, 1
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], eax
xor edx, edx
mov dword [esp + 0x28], edx
mov edx, dword [ebx + 8]
push edx
mov eax, dword [edx]
call dword [eax + 0x34]
test eax, eax
jbe 0x8394e4
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x38]
lea edx, [esp + 0x1c]
push edx
push ebp
mov eax, dword [ebx + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x3c]
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x8394c8
lea ecx, [esp + 0xc]
xor eax, eax
push eax
push 0xffffffffffffffff
push ecx
push eax
push esi
push edi
mov ecx, dword [esp + 0x8c]
push ecx
push eax
push eax
push edx
call fcn.0088f838
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x8394c8
push edx
mov eax, dword [edx]
call dword [eax + 8]
mov dword [esp + 0x1c], 0
mov edx, dword [ebx + 8]
push edx
mov eax, dword [edx]
add ebp, 1
call dword [eax + 0x34]
cmp ebp, eax
jb 0x83947e
mov ebp, dword [esp + 0x44]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x3c]
mov edx, 0x15
mov dword [esp + 0x38], edx
jmp 0x839249
mov ecx, 2
mov edx, 0x98aac0
call fcn.0083bf84
xor eax, eax
add esp, 0x4c
pop ebx
pop ebp
pop esi
pop edi
ret 0x20
mov edx, dword [esp + 0x2c]
add edx, edx
add edx, edx
add edx, edx
add edx, edx
mov dword [esp + 0x2c], edx
jmp 0x8393f7
mov edx, dword [esp + 0x2c]
add edx, edx
add edx, edx
add edx, edx
mov dword [esp + 0x2c], edx
jmp 0x8393f7
mov edx, dword [0xacd528]
mov dword [esp + 0x28], edx
test edi, edi
je 0x83954a
mov edx, 1
jmp 0x83954c
xor edx, edx
test esi, esi
je 0x839554
xor eax, eax
jmp 0x839559
mov eax, 1
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x28]
mov ecx, dword [ebp]
lea ebx, [ebx + 8]
push ebx
push eax
mov eax, dword [esp + 0x40]
push eax
push edx
mov edx, dword [esp + 0x44]
push edx
mov eax, dword [esp + 0x84]
push eax
mov eax, dword [esp + 0x84]
push eax
push ebp
mov ebp, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
call dword [ecx + 0x50]
mov eax, dword [ebx + 8]
test eax, eax
je 0x8391d7
mov ebp, 1
jmp 0x8391d7
mov ebx, 0xacd5c0
mov eax, 0x400
mov edi, dword [ebx]
cmp edi, 0xffffffff
je 0x8395e4
add ebx, 0x1c
mov edi, dword [ebx]
cmp edi, 0xffffffff
je 0x8395e4
add ebx, 0x1c
mov edi, dword [ebx]
cmp edi, 0xffffffff
je 0x8395e4
add ebx, 0x1c
mov edi, dword [ebx]
cmp edi, 0xffffffff
je 0x8395e4
add ebx, 0x1c
add eax, 0xfffffffc
test eax, eax
jg 0x8395b3
xor ebx, ebx
test ebx, ebx
je 0x839501
mov eax, dword [esp + 0x68]
mov edi, dword [esp + 0x6c]
mov dword [ebx], edx
mov edx, dword [esp + 0x60]
mov dword [ebx + 4], edx
mov edx, dword [esp + 0x70]
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x18], edx
cmp eax, 1
je 0x839642
mov edx, dword [esp + 0x68]
cmp edx, 4
je 0x839642
mov edx, dword [esp + 0x68]
cmp edx, 7
jb 0x839636
mov edx, dword [esp + 0x68]
cmp edx, 0xa
jbe 0x839642
mov edx, dword [esp + 0x64]
mov dword [ebx + 0x10], edx
jmp 0x83915b
mov edx, dword [esp + 0x64]
mov dword [ebx + 0x10], edx
jmp 0x83915b
mov edx, dword [esp + 0x64]
or edx, 0x10000
mov dword [ebx + 0x10], edx
jmp 0x83915b