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

Disassembly:
sub esp, 0xa8
push ebx
mov ebx, dword [esp + 0xb8]
push ebp
push esi
push edi
mov edi, dword [esp + 0xc0]
mov ecx, ebx
sub ecx, edi
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
cdq
sub eax, edx
sar eax, 1
lea eax, [eax + eax*2]
lea ecx, [ebx - 0x18]
push ecx
lea esi, [edi + eax*8]
push esi
push edi
call fcn.10038cb0
add esp, 0xc
cmp edi, esi
mov ecx, esi
lea ebp, [esi + 0x18]
jae 0x10039059
add esi, 0xffffffec
mov edi, dword [esi]
mov ebx, dword [esi + 0x18]
cmp edi, ebx
je 0x10039019
mov al, byte [esi + 8]
mov dl, byte [esi + 0x20]
cmp al, dl
jne 0x1003901e
cmp edi, ebx
jmp 0x1003901e
mov edx, dword [esi - 4]
cmp edx, dword [ecx]
seta al
test al, al
jne 0x10039052
cmp ebx, edi
je 0x10039037
mov al, byte [esi + 0x20]
mov dl, byte [esi + 8]
cmp al, dl
jne 0x1003903c
cmp ebx, edi
jmp 0x1003903c
mov eax, dword [ecx]
cmp eax, dword [esi - 4]
seta al
test al, al
jne 0x10039052
sub ecx, 0x18
sub esi, 0x18
cmp dword [esp + 0xc0], ecx
jb 0x10039002
mov ebx, dword [esp + 0xc4]
cmp ebp, ebx
jae 0x100390a6
mov edi, dword [ecx + 4]
mov esi, dword [ebp + 4]
cmp esi, edi
je 0x10039075
mov al, byte [ebp + 0xc]
mov dl, byte [ecx + 0xc]
cmp al, dl
jne 0x1003907a
cmp esi, edi
jmp 0x1003907a
mov edx, dword [ebp]
cmp edx, dword [ecx]
seta al
test al, al
jne 0x100390a6
cmp edi, esi
je 0x10039093
mov al, byte [ecx + 0xc]
mov dl, byte [ebp + 0xc]
cmp al, dl
jne 0x10039098
cmp edi, esi
jmp 0x10039098
mov eax, dword [ecx]
cmp eax, dword [ebp]
seta al
test al, al
jne 0x100390a6
add ebp, 0x18
cmp ebp, ebx
jb 0x10039060
mov esi, ebp
mov ebx, ecx
lea ebx, [ebx]
cmp esi, dword [esp + 0xc4]
jae 0x1003918a
lea ecx, [ecx]
mov edi, dword [ecx + 4]
cmp edi, dword [esi + 4]
je 0x100390d7
mov al, byte [ecx + 0xc]
mov dl, byte [esi + 0xc]
cmp al, dl
jne 0x100390db
cmp edi, dword [esi + 4]
jmp 0x100390db
mov edx, dword [ecx]
cmp edx, dword [esi]
seta al
test al, al
jne 0x1003917a
cmp dword [esi + 4], edi
je 0x100390fa
mov al, byte [esi + 0xc]
mov dl, byte [ecx + 0xc]
cmp al, dl
jne 0x100390fe
cmp dword [esi + 4], edi
jmp 0x100390fe
mov eax, dword [esi]
cmp eax, dword [ecx]
seta al
test al, al
jne 0x1003918a
mov eax, ebp
mov edi, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x2c], edi
mov edi, dword [eax + 8]
mov dword [esp + 0x30], edi
mov edi, dword [eax + 0xc]
mov dword [esp + 0x34], edi
mov edi, dword [eax + 0x10]
mov dword [esp + 0x38], edi
mov edi, dword [eax + 0x14]
mov dword [esp + 0x3c], edi
mov edi, dword [esi]
mov dword [eax], edi
mov edi, dword [esi + 4]
mov dword [eax + 4], edi
mov edi, dword [esi + 8]
mov dword [eax + 8], edi
mov edi, dword [esi + 0xc]
mov dword [eax + 0xc], edi
mov edi, dword [esi + 0x10]
mov dword [eax + 0x10], edi
mov edi, dword [esi + 0x14]
mov dword [eax + 0x14], edi
mov eax, dword [esp + 0x30]
mov dword [esi], edx
mov edx, dword [esp + 0x2c]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x34]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x38]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x10], eax
add ebp, 0x18
mov dword [esi + 0x14], edx
add esi, 0x18
cmp esi, dword [esp + 0xc4]
jb 0x100390c0
cmp ebx, dword [esp + 0xc0]
jbe 0x1003927a
lea edi, [ebx - 0x14]
lea ebx, [ebx]
mov eax, dword [edi]
cmp eax, dword [ecx + 4]
je 0x100391b8
mov al, byte [edi + 8]
mov dl, byte [ecx + 0xc]
cmp al, dl
jne 0x100391bd
mov eax, dword [ecx + 4]
cmp dword [edi], eax
jmp 0x100391bd
mov eax, dword [edi - 4]
cmp eax, dword [ecx]
seta al
test al, al
jne 0x10039260
mov eax, dword [ecx + 4]
cmp eax, dword [edi]
je 0x100391e0
mov al, byte [ecx + 0xc]
mov dl, byte [edi + 8]
cmp al, dl
jne 0x100391e5
mov eax, dword [ecx + 4]
cmp eax, dword [edi]
jmp 0x100391e5
mov edx, dword [ecx]
cmp edx, dword [edi - 4]
seta al
test al, al
jne 0x10039273
mov edx, dword [ecx - 0x14]
mov eax, dword [ecx - 0x18]
sub ecx, 0x18
mov dword [esp + 0x44], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x48], edx
mov edx, dword [ecx + 0xc]
mov dword [esp + 0x4c], edx
mov edx, dword [ecx + 0x10]
mov dword [esp + 0x50], edx
mov edx, dword [ecx + 0x14]
mov dword [esp + 0x54], edx
mov edx, dword [edi - 4]
mov dword [ecx], edx
mov edx, dword [edi]
mov dword [ecx + 4], edx
mov edx, dword [edi + 4]
mov dword [ecx + 8], edx
mov edx, dword [edi + 8]
mov dword [ecx + 0xc], edx
mov edx, dword [edi + 0xc]
mov dword [ecx + 0x10], edx
mov edx, dword [edi + 0x10]
mov dword [ecx + 0x14], edx
mov edx, dword [esp + 0x48]
mov dword [edi - 4], eax
mov eax, dword [esp + 0x44]
mov dword [edi], eax
mov eax, dword [esp + 0x4c]
mov dword [edi + 4], edx
mov edx, dword [esp + 0x50]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x54]
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], eax
sub ebx, 0x18
sub edi, 0x18
cmp dword [esp + 0xc0], ebx
jb 0x100391a0
cmp ebx, dword [esp + 0xc0]
jne 0x1003937d
cmp esi, dword [esp + 0xc4]
je 0x10039512
cmp ebp, esi
je 0x100392f7
mov edi, dword [ecx + 8]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 0x60], edi
mov edi, dword [ecx + 0xc]
mov dword [esp + 0x64], edi
mov edi, dword [ecx + 0x10]
mov dword [esp + 0x68], edi
mov edi, dword [ecx + 0x14]
mov dword [esp + 0x6c], edi
mov edi, dword [ebp]
mov dword [ecx], edi
mov edi, dword [ebp + 4]
mov dword [ecx + 4], edi
mov edi, dword [ebp + 8]
mov dword [ecx + 8], edi
mov edi, dword [ebp + 0xc]
mov dword [ecx + 0xc], edi
mov edi, dword [ebp + 0x10]
mov dword [ecx + 0x10], edi
mov edi, dword [ebp + 0x14]
mov dword [ecx + 0x14], edi
mov dword [ebp], eax
mov eax, dword [esp + 0x64]
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x60]
mov dword [ebp + 8], edx
mov edx, dword [esp + 0x68]
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x6c]
mov dword [ebp + 0x10], edx
mov dword [ebp + 0x14], eax
mov edx, ecx
mov edi, dword [edx]
mov dword [esp + 0x10], edi
mov edi, dword [edx + 4]
mov dword [esp + 0x14], edi
mov edi, dword [edx + 8]
mov dword [esp + 0x18], edi
mov edi, dword [edx + 0xc]
mov dword [esp + 0x1c], edi
mov edi, dword [edx + 0x10]
mov eax, esi
mov dword [esp + 0x20], edi
mov edi, dword [edx + 0x14]
mov dword [esp + 0x24], edi
mov edi, dword [eax]
mov dword [edx], edi
mov edi, dword [eax + 4]
mov dword [edx + 4], edi
mov edi, dword [eax + 8]
mov dword [edx + 8], edi
mov edi, dword [eax + 0xc]
mov dword [edx + 0xc], edi
mov edi, dword [eax + 0x10]
mov dword [edx + 0x10], edi
mov edi, dword [eax + 0x14]
mov dword [edx + 0x14], edi
mov edx, dword [esp + 0x10]
mov dword [eax], edx
mov edx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 0x10], edx
mov edx, dword [esp + 0x24]
add ebp, 0x18
add ecx, 0x18
add esi, 0x18
mov dword [eax + 0x14], edx
jmp 0x100390b0
sub ebx, 0x18
cmp esi, dword [esp + 0xc4]
jne 0x1003948e
sub ecx, 0x18
cmp ebx, ecx
je 0x10039414
mov edi, dword [ebx + 8]
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [esp + 0x90], edi
mov edi, dword [ebx + 0xc]
mov dword [esp + 0x94], edi
mov edi, dword [ebx + 0x10]
mov dword [esp + 0x98], edi
mov edi, dword [ebx + 0x14]
mov dword [esp + 0x9c], edi
mov edi, dword [ecx]
mov dword [ebx], edi
mov edi, dword [ecx + 4]
mov dword [ebx + 4], edi
mov edi, dword [ecx + 8]
mov dword [ebx + 8], edi
mov edi, dword [ecx + 0xc]
mov dword [ebx + 0xc], edi
mov edi, dword [ecx + 0x10]
mov dword [ebx + 0x10], edi
mov edi, dword [ecx + 0x14]
mov dword [ebx + 0x14], edi
mov dword [ecx], eax
mov eax, dword [esp + 0x90]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x94]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x98]
mov dword [ecx + 0xc], edx
mov edx, dword [esp + 0x9c]
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], edx
mov edi, dword [ecx + 8]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov dword [esp + 0x78], edi
mov edi, dword [ecx + 0xc]
mov dword [esp + 0x7c], edi
mov edi, dword [ecx + 0x10]
sub ebp, 0x18
mov dword [esp + 0x80], edi
mov edi, dword [ecx + 0x14]
mov dword [esp + 0x84], edi
mov edi, dword [ebp]
mov dword [ecx], edi
mov edi, dword [ebp + 4]
mov dword [ecx + 4], edi
mov edi, dword [ebp + 8]
mov dword [ecx + 8], edi
mov edi, dword [ebp + 0xc]
mov dword [ecx + 0xc], edi
mov edi, dword [ebp + 0x10]
mov dword [ecx + 0x10], edi
mov edi, dword [ebp + 0x14]
mov dword [ecx + 0x14], edi
mov dword [ebp], eax
mov eax, dword [esp + 0x78]
mov dword [ebp + 4], edx
mov edx, dword [esp + 0x7c]
mov dword [ebp + 8], eax
mov eax, dword [esp + 0x80]
mov dword [ebp + 0xc], edx
mov edx, dword [esp + 0x84]
mov dword [ebp + 0x10], eax
mov dword [ebp + 0x14], edx
jmp 0x100390b0
mov edi, dword [esi + 8]
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov dword [esp + 0xa8], edi
mov edi, dword [esi + 0xc]
mov dword [esp + 0xac], edi
mov edi, dword [esi + 0x10]
mov dword [esp + 0xb0], edi
mov edi, dword [esi + 0x14]
mov dword [esp + 0xb4], edi
mov edi, dword [ebx]
mov dword [esi], edi
mov edi, dword [ebx + 4]
mov dword [esi + 4], edi
mov edi, dword [ebx + 8]
mov dword [esi + 8], edi
mov edi, dword [ebx + 0xc]
mov dword [esi + 0xc], edi
mov edi, dword [ebx + 0x10]
mov dword [esi + 0x10], edi
mov edi, dword [ebx + 0x14]
mov dword [esi + 0x14], edi
mov dword [ebx], eax
mov eax, dword [esp + 0xa8]
mov dword [ebx + 4], edx
mov edx, dword [esp + 0xac]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0xb0]
mov dword [ebx + 0xc], edx
mov edx, dword [esp + 0xb4]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], edx
add esi, 0x18
jmp 0x100390b0
mov eax, dword [esp + 0xbc]
pop edi
pop esi
mov dword [eax + 4], ebp
pop ebp
mov dword [eax], ecx
pop ebx
add esp, 0xa8
ret