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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1011db10
mov esi, dword fs:[0]
mov dword [ebp - 0x18], esi
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ecx + 0xdc]
mov dword [ebp - 0x44], eax
mov eax, dword [edx + 0x18]
cmp eax, 0xe
ja case.default.0x10117968
jmp dword [eax*4 + 0x10118088]
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x78], 0
je 0x10117ce2
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x7c]
mov dword [ebp - 0x24], edx
cmp ecx, edx
je 0x10117ce2
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x70]
mov dword [ebp - 0x28], edx
mov edx, dword [eax + 0x74]
dec edx
mov esi, dword [ebp - 0x24]
mov eax, esi
shr eax, 4
shr esi, 9
xor esi, eax
xor edi, edi
nop
and esi, edx
lea ebx, [esi + esi*2]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + ebx*8]
cmp eax, dword [ebp - 0x24]
je 0x10117bf1
cmp eax, ecx
je 0x10117ce2
add esi, edi
inc esi
inc edi
cmp edi, edx
jbe 0x101179b0
jmp 0x10117ce2
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x20]
push 0
push dword [ebp + 8]
call fcn.10115430
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
movzx eax, byte [ebp + 0xc]
push 1
push 0
mov dword [ebp - 0x28], eax
push eax
push 3
call fcn.10108a70
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call fcn.10108bf0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push 0
push 1
push dword [ebp - 0x28]
push 3
call fcn.10108a70
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
call fcn.10108c00
test al, al
jne case.default.0x10117968
mov eax, dword [ebp + 8]
add eax, 8
push 0x10534a2f
push eax
call fcn.1010d850
add esp, 8
movzx eax, byte [ebp + 0x10]
mov dword [ebp - 0x10], 0
movzx eax, al
movzx edx, byte [ebp + 0xc]
mov ecx, dword [ebp - 0x20]
push eax
push edx
push dword [ebp + 8]
call fcn.10119180
jmp case.default.0x10117968
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x28], ecx
mov eax, dword [eax + 0x20]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0
push 8
call fcn.101ac7e6
add esp, 4
mov dword [ebp - 0x3c], eax
lea edx, [eax + 8]
mov dword [ebp - 0x34], edx
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov esi, dword [ebp - 0x24]
mov dword [eax + 4], esi
mov dword [ebp - 0x38], edx
mov ecx, dword [esi + 4]
cmp ecx, dword [0x105dc2f0]
jne 0x10117b21
test esi, esi
je 0x10117b21
add eax, 4
nop word cs:[eax + eax]
cmp dword [esi + 0x18], 6
jne 0x10117b1e
mov ecx, dword [esi + 0x1c]
mov dword [eax], ecx
add esi, 0x20
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x34]
je 0x10117af5
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [ebp - 0x38]
add edx, 4
mov dword [ebp - 0x38], edx
jmp 0x10117b09
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x3c]
push esi
push eax
call fcn.10078760
mov edx, dword [ebp - 0x38]
mov esi, dword [edx - 4]
mov eax, dword [esi + 4]
cmp eax, dword [0x105dc2f0]
jne 0x10117b1e
lea eax, [edx - 4]
test esi, esi
jne 0x10117ad0
mov eax, dword [ebp - 0x3c]
mov ecx, edx
sub ecx, eax
sar ecx, 2
mov edi, dword [ebp - 0x20]
mov esi, dword [edi + 0xdc]
mov dword [ebp - 0x28], esi
add esi, ecx
cmp esi, 0x100
jae 0x10117ffa
mov dword [edi + 0xdc], esi
mov ecx, dword [edi + 0xe0]
cmp ecx, esi
cmova esi, ecx
mov dword [edi + 0xe0], esi
xor ebx, ebx
nop dword [eax + eax]
sub edx, eax
sar edx, 2
mov dword [ebp - 0x10], 1
cmp ebx, edx
jae 0x10117b95
mov ecx, ebx
add cl, byte [ebp - 0x28]
movzx edx, cl
mov ecx, dword [ebp - 0x20]
push 1
push edx
mov dword [ebp - 0x24], ebx
push dword [eax + ebx*4]
call fcn.10115a60
mov ebx, dword [ebp - 0x24]
inc ebx
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
jmp 0x10117b60
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x28]
add dl, al
dec dl
movzx eax, al
movzx esi, byte [ebp + 0xc]
movzx edx, dl
push edx
push eax
push esi
push 0x31
call fcn.10108a70
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je case.default.0x10117968
mov eax, dword [ebp - 0x34]
sub eax, ecx
cmp eax, 0x1000
jb 0x10117be2
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x1011802f
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.101ac81b
add esp, 8
jmp case.default.0x10117968
mov eax, dword [ebp - 0x28]
cmp dword [eax + ebx*8 + 8], 3
jne 0x10117ce2
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x28]
movsd xmm0, qword [eax + ebx*8 + 0x10]
mov dword [ebp - 0x10], 0
sub esp, 8
movsd qword [esp], xmm0
call fcn.10108410
test eax, eax
js 0x1011801b
cmp eax, 0xff
ja 0x10117ce2
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
mov ecx, dword [0x105dc2cc]
mov esi, dword [eax + 4]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x10117c54
mov edx, dword [ebp - 0x2c]
cmp esi, ecx
je 0x10117c7d
mov edi, dword [0x105dc2b8]
mov ebx, dword [0x105dc2f4]
mov edx, dword [ebp - 0x2c]
cmp esi, edi
je 0x10117c6f
cmp esi, ebx
jne 0x10117f4c
mov edx, dword [edx + 0x18]
mov esi, dword [edx + 4]
test edx, edx
je 0x10117c63
cmp esi, ecx
jne 0x10117c63
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x3c], 0
je 0x10117f4c
mov ecx, dword [edx + 0x18]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x28], eax
cmp ecx, eax
je 0x10117f4c
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x24], edx
mov edi, dword [eax + 0x38]
dec edi
mov eax, ecx
shr eax, 4
mov ebx, ecx
shr ebx, 9
xor ebx, eax
xor eax, eax
and ebx, edi
lea edx, [ebx + ebx*2]
mov esi, dword [ebp - 0x24]
mov esi, dword [esi + edx*4]
cmp esi, ecx
je 0x10117f2b
cmp esi, dword [ebp - 0x28]
je 0x10117f4c
add ebx, eax
inc ebx
inc eax
cmp eax, edi
jbe 0x10117cb9
jmp 0x10117f4c
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov eax, dword [0x105dc2cc]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x10117cfe
mov ecx, dword [ebp - 0x30]
cmp esi, eax
je 0x10117d26
mov edi, dword [0x105dc2b8]
mov edx, dword [0x105dc2f4]
mov ecx, dword [ebp - 0x30]
nop dword [eax]
cmp esi, edi
je 0x10117d18
cmp esi, edx
jne 0x10117d96
mov ecx, dword [ecx + 0x18]
mov esi, dword [ecx + 4]
test ecx, ecx
je 0x10117d10
cmp esi, eax
jne 0x10117d10
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x3c], 0
je 0x10117d96
mov edx, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x40]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x2c], ecx
cmp edx, ecx
je 0x10117d96
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x28], edx
mov ebx, dword [ecx + 0x38]
dec ebx
mov ecx, dword [ebp - 0x24]
mov edx, ecx
shr edx, 4
shr ecx, 9
xor ecx, edx
xor esi, esi
nop
and ecx, ebx
lea edi, [ecx + ecx*2]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx + edi*4]
cmp edx, dword [ebp - 0x24]
je 0x10117d7f
cmp edx, dword [ebp - 0x2c]
je 0x10117d96
add ecx, esi
inc ecx
inc esi
cmp esi, ebx
jbe 0x10117d60
jmp 0x10117d96
mov ecx, dword [ebp - 0x28]
cmp byte [ecx + edi*4 + 5], 0
je 0x10117d96
mov ecx, dword [ebp - 0x28]
movzx ecx, byte [ecx + edi*4 + 4]
mov dword [ebp - 0x40], ecx
jmp 0x10117de1
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ecx + 0xdc]
lea eax, [ebx + 1]
mov dword [ebp - 0x10], 0
cmp eax, 0x100
jae 0x10117fc4
mov dword [ecx + 0xdc], eax
mov edx, dword [ecx + 0xe0]
cmp edx, eax
cmova eax, edx
mov dword [ecx + 0xe0], eax
mov dword [ebp - 0x40], ebx
movzx eax, bl
push 1
push eax
push dword [ebp - 0x30]
call fcn.10115a60
mov eax, dword [0x105dc2cc]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x20]
mov esi, dword [ecx + 4]
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x10117df8
mov ecx, dword [ebp - 0x2c]
cmp esi, eax
je 0x10117e2a
mov edi, dword [0x105dc2b8]
mov ebx, dword [0x105dc2f4]
mov ecx, dword [ebp - 0x2c]
nop word [eax + eax]
cmp esi, edi
je 0x10117e1c
cmp esi, ebx
jne 0x10117e99
mov ecx, dword [ecx + 0x18]
mov esi, dword [ecx + 4]
test ecx, ecx
je 0x10117e10
cmp esi, eax
jne 0x10117e10
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x3c], 0
je 0x10117e99
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x40]
mov dword [ebp - 0x28], ecx
cmp eax, ecx
je 0x10117e99
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 0x24], edx
mov edi, dword [ecx + 0x38]
dec edi
mov ecx, eax
shr ecx, 4
mov ebx, eax
shr ebx, 9
xor ebx, ecx
xor edx, edx
nop
and ebx, edi
lea ecx, [ebx + ebx*2]
mov esi, dword [ebp - 0x24]
mov esi, dword [esi + ecx*4]
cmp esi, eax
je 0x10117e7e
cmp esi, dword [ebp - 0x28]
je 0x10117e99
add ebx, edx
inc ebx
inc edx
cmp edx, edi
jbe 0x10117e60
jmp 0x10117e99
mov eax, dword [ebp - 0x24]
cmp byte [eax + ecx*4 + 5], 0
je 0x10117e99
mov eax, dword [ebp - 0x24]
movzx ebx, byte [eax + ecx*4 + 4]
mov dword [ebp - 0x10], 0
jmp 0x10117ee2
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ecx + 0xdc]
lea eax, [ebx + 1]
mov dword [ebp - 0x10], 0
cmp eax, 0x100
jae 0x10117fdf
mov dword [ecx + 0xdc], eax
mov edx, dword [ecx + 0xe0]
cmp edx, eax
cmova eax, edx
mov dword [ecx + 0xe0], eax
mov dword [ebp - 0x24], ebx
movzx eax, bl
push 1
push eax
push dword [ebp - 0x2c]
call fcn.10115a60
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x18]
lea edx, [eax + 0x21]
xor esi, esi
cmp eax, 6
cmovb esi, edx
movzx eax, bl
movzx edx, byte [ebp - 0x40]
movzx edi, byte [ebp + 0xc]
push eax
push edx
push edi
push esi
call fcn.10108a70
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0xdc], eax
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov eax, dword [ebp - 0x24]
cmp byte [eax + edx*4 + 5], 0
je 0x10117f4c
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + edx*4 + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp - 0x30]
jmp 0x10117f95
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ecx + 0xdc]
lea eax, [ebx + 1]
mov dword [ebp - 0x10], 0
cmp eax, 0x100
jae 0x10118034
mov dword [ecx + 0xdc], eax
mov edx, dword [ecx + 0xe0]
cmp edx, eax
cmova eax, edx
mov dword [ecx + 0xe0], eax
mov dword [ebp - 0x24], ebx
movzx eax, bl
push 1
push eax
push dword [ebp - 0x2c]
call fcn.10115a60
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x18]
lea esi, [edx + 0x27]
xor eax, eax
cmp edx, 6
cmovb eax, esi
movzx edx, bl
movzx esi, byte [ebp - 0x24]
movzx edi, byte [ebp + 0xc]
push edx
push esi
push edi
push eax
call fcn.10108a70
jmp case.default.0x10117968
mov eax, dword [ebp - 0x30]
add eax, 8
push 0xff
push 1
push 0x105353e4
push eax
call fcn.1010d850
add esp, 0x10
mov eax, dword [ebp - 0x2c]
add eax, 8
push 0xff
push 1
push 0x105353e4
push eax
call fcn.1010d850
add esp, 0x10
mov eax, dword [ebp + 8]
add eax, 8
mov dword [ebp - 0x10], 1
push 0xff
push ecx
push 0x105353e4
push eax
call fcn.1010d850
add esp, 0x10
mov eax, dword [ebp - 0x24]
add eax, 8
push 0x105349c4
push eax
call fcn.1010d850
add esp, 8
call fcn.10378384
mov eax, dword [ebp - 0x2c]
add eax, 8
push 0xff
push 1
push 0x105353e4
push eax
call fcn.1010d850
add esp, 0x10
nop
push ebp
sub esp, 0x10
add ebp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.1004e080
add esp, 0x10
pop ebp
ret