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

Disassembly:
sub esp, 0x50
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
mov eax, dword [esp + 0x68]
mov ecx, dword [edx]
push ebx
push ebp
push esi
xor esi, esi
test dword [eax + 0x24], 0x400
push edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
je 0x10113c3a
movzx eax, byte [eax + 0x1d]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
cmp word [esp + 0x74], si
je 0x10113c51
test byte [ecx + 0x3c], 0x80
je 0x10113c51
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov eax, dword [esp + 0x68]
movzx eax, word [eax]
cmp ax, 0x3f
ja 0x10113c47
movzx ecx, ax
mov eax, 1
xor edx, edx
mov byte [esp + 0x17], 1
mov dword [esp + 0x20], ecx
call fcn.101455d0
add eax, 0xffffffff
adc edx, 0xffffffff
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x2c], esi
jmp 0x10113ca0
mov ecx, dword [esp + 0x44]
cmp ecx, dword [esp + 0x5c]
ja 0x10114173
jb 0x10113cbe
mov edx, dword [esp + 0x40]
cmp edx, dword [esp + 0x58]
jae 0x10114173
movzx eax, word [esp + 0x74]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jg 0x10114173
test ecx, ecx
jle 0x10113ce5
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 8]
mov edx, dword [edx + 0xc]
or dword [esp + 0x48], esi
or dword [esp + 0x4c], edx
cmp ecx, eax
jge 0x10113cf5
mov eax, dword [esp + 0x6c]
mov edx, dword [eax + 0x18]
mov edx, dword [edx + ecx*4]
jmp 0x10113cf9
mov edx, dword [esp + 0x78]
movzx eax, byte [edx + 0x10]
mov ecx, dword [esp + 0x64]
mov ecx, dword [ecx + 4]
lea eax, [eax + eax*8]
mov eax, dword [ecx + eax*8 + 0x34]
xor ecx, ecx
cmp dword [esp + 0x20], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ecx
jle 0x10113e31
mov dword [esp + 0x24], ecx
mov eax, 1
xor edx, edx
call fcn.101455d0
mov ebx, edx
mov ebp, eax
and eax, dword [esp + 0x40]
mov ecx, ebx
and ecx, dword [esp + 0x44]
or eax, ecx
jne 0x10113e15
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + edx]
call fcn.100de740
mov edi, eax
cmp byte [edi], 0x99
jne 0x10113e15
mov ecx, dword [esp + 0x30]
cmp dword [edi + 0x1c], ecx
jne 0x10113e15
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
movsx ecx, word [edi + 0x20]
push 0
not eax
not edx
push eax
push edx
mov edx, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x40]
add edx, 0x148
mov eax, 0x82
call fcn.1010e210
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10113e15
test byte [esi + 0x12], 2
je 0x10113e0d
cmp word [edi + 0x20], 0
jl 0x10113e0d
mov edx, dword [esp + 0x68]
mov eax, dword [edx + 8]
mov ecx, dword [esp + 0x64]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x24]
mov ecx, dword [ecx + eax]
push edx
call fcn.100de770
add esp, 4
test eax, eax
jne 0x10113ddf
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 8]
mov edi, dword [eax]
mov eax, dword [esp + 0x64]
mov ecx, dword [eax]
push ecx
mov ecx, dword [esi]
call fcn.100de770
add esp, 4
test eax, eax
jne 0x10113dfd
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 8]
mov eax, dword [eax]
push eax
push edi
call fcn.100b6ae0
add esp, 8
test eax, eax
jne 0x10113e15
or dword [esp + 0x40], ebp
or dword [esp + 0x44], ebx
mov ecx, dword [esp + 0x28]
add dword [esp + 0x24], 0x18
inc ecx
cmp ecx, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
jl 0x10113d27
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x24]
test eax, 0x1000
jne 0x101140d4
test eax, 0x100
je 0x10113e55
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x38], esi
lea eax, [esi + 1]
jmp 0x10113e89
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x1c]
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x10113c47
test byte [ecx + 0x38], 4
jne 0x10113c47
movzx edx, word [ecx + 0x32]
cmp byte [ecx + 0x36], 0
movzx eax, word [ecx + 0x34]
mov dword [esp + 0x38], edx
setne byte [esp + 0x17]
mov esi, ecx
movzx eax, ax
xor edx, edx
mov byte [esp + 0x1a], 0
mov byte [esp + 0x19], 0
mov byte [esp + 0x1b], 0
mov dword [esp + 0x28], edx
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x101140d4
lea ecx, [ecx]
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax + 0x18]
cmp edx, ecx
jge 0x10113ee3
cmp word [eax + 0x1a], 0
jne 0x10113ee3
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + edx*4]
movzx eax, word [eax + 0x12]
test al, 0x82
je 0x10113ee3
test al, al
jns 0x101140b8
mov byte [esp + 0x17], 0
jmp 0x101140b8
test esi, esi
je 0x10113f05
mov eax, dword [esi + 4]
movsx ebp, word [eax + edx*2]
mov eax, dword [esi + 0x1c]
mov al, byte [edx + eax]
mov byte [esp + 0x18], al
mov eax, dword [esi + 0xc]
movsx eax, word [eax + 0x24]
cmp ebp, eax
jne 0x10113f0d
jmp 0x10113f0a
mov byte [esp + 0x18], 0
or ebp, 0xffffffff
cmp byte [esp + 0x17], 0
je 0x10113f32
test ebp, ebp
jl 0x10113f32
cmp edx, ecx
jl 0x10113f32
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 4]
lea edx, [ebp + ebp*2]
cmp byte [eax + edx*8 + 0x14], 0
jne 0x10113f32
mov byte [esp + 0x17], 0
xor esi, esi
mov bl, 1
xor edi, edi
jmp 0x10113f40
cmp esi, dword [esp + 0x20]
jge 0x1011400e
mov eax, 1
xor edx, edx
mov ecx, esi
call fcn.101455d0
and eax, dword [esp + 0x40]
and edx, dword [esp + 0x44]
or eax, edx
jne 0x10114002
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 8]
mov ecx, dword [edi + edx]
mov eax, ecx
test eax, eax
je 0x10113fa4
jmp 0x10113f80
mov edx, dword [eax + 4]
test edx, 0x1000
je 0x10113fa4
test edx, 0x40000
je 0x10113f9d
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 8]
mov eax, dword [edx]
jmp 0x10113fa0
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x10113f80
test dword [esp + 0x70], 0x300
jne 0x10113fb0
xor bl, bl
cmp byte [eax], 0x99
jne 0x10114002
mov edx, dword [esp + 0x30]
cmp dword [eax + 0x1c], edx
jne 0x10114002
movsx eax, word [eax + 0x20]
cmp eax, ebp
jne 0x10114002
test ebp, ebp
jl 0x1011403d
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
push eax
call fcn.100de770
add esp, 4
test eax, eax
jne 0x10113fe4
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 8]
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x20]
mov edx, dword [esp + 0x28]
mov ecx, dword [ecx + edx*4]
mov edx, dword [eax]
push ecx
push edx
call fcn.100b6ae0
add esp, 8
test eax, eax
je 0x10114039
inc esi
add edi, 0x18
test bl, bl
jne 0x10113f40
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1011401f
movzx edx, word [esp + 0x38]
cmp eax, edx
jge 0x10114024
mov byte [esp + 0x17], 0
cmp byte [esp + 0x1b], 0
je 0x101140d4
mov byte [esp + 0x17], 1
jmp 0x101140df
test ebp, ebp
jge 0x10114042
mov byte [esp + 0x1b], 1
mov eax, 1
xor edx, edx
mov ecx, esi
call fcn.101455d0
or dword [esp + 0x40], eax
mov ecx, dword [esp + 0x64]
or dword [esp + 0x44], edx
mov eax, 0x100
test word [ecx + 0x22], ax
jne 0x101140b8
cmp byte [esp + 0x1a], 0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 8]
lea edx, [esi + esi*2]
je 0x1011408c
mov al, byte [esp + 0x18]
xor al, byte [esp + 0x19]
cmp al, byte [ecx + edx*8 + 0xc]
jne 0x10113c47
jmp 0x101140b8
mov al, byte [ecx + edx*8 + 0xc]
xor al, byte [esp + 0x18]
mov byte [esp + 0x19], al
je 0x101140b3
mov ecx, dword [esp + 0x2c]
mov eax, 1
xor edx, edx
call fcn.101455d0
mov ecx, dword [esp + 0x7c]
or dword [ecx], eax
or dword [ecx + 4], edx
mov byte [esp + 0x1a], 1
mov edx, dword [esp + 0x28]
inc edx
cmp edx, dword [esp + 0x3c]
mov dword [esp + 0x28], edx
jge 0x10114024
mov esi, dword [esp + 0x24]
jmp 0x10113eb0
cmp byte [esp + 0x17], 0
je 0x10114164
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
or dword [esp + 0x50], ecx
or dword [esp + 0x54], edx
xor ebp, ebp
cmp dword [esp + 0x20], ebp
jle 0x10114164
mov dword [esp + 0x30], ebp
mov eax, 1
xor edx, edx
mov ecx, ebp
call fcn.101455d0
mov edi, edx
mov esi, eax
and eax, dword [esp + 0x40]
mov ecx, edi
and ecx, dword [esp + 0x44]
or eax, ecx
jne 0x10114158
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x30]
mov eax, dword [edx + ecx]
push eax
mov eax, dword [esp + 0x68]
add eax, 0x44
push eax
call fcn.1010daf0
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
not ecx
not ebx
and eax, ecx
and edx, ebx
add esp, 8
or eax, edx
jne 0x10114158
or dword [esp + 0x40], esi
or dword [esp + 0x44], edi
add dword [esp + 0x30], 0x18
inc ebp
cmp ebp, dword [esp + 0x20]
jl 0x101140fd
inc dword [esp + 0x2c]
cmp byte [esp + 0x17], 0
jne 0x10113ca0
mov edx, dword [esp + 0x58]
cmp dword [esp + 0x40], edx
jne 0x10114194
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x44], eax
jne 0x10114194
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
movzx eax, byte [esp + 0x17]
pop edi
pop esi
neg eax
pop ebp
sbb eax, eax
pop ebx
add esp, 0x50
ret