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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1011db50
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
mov edx, dword [esi + 0x18]
mov eax, dword [ecx + 0xdc]
cmp dword [ecx + 0x78], 0
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], edx
je 0x10119212
mov eax, dword [esi + 0x1c]
mov edx, dword [ecx + 0x7c]
mov dword [ebp - 0x2c], edx
cmp eax, edx
je 0x10119215
mov edx, dword [ecx + 0x70]
mov dword [ebp - 0x24], edx
mov esi, dword [ecx + 0x74]
dec esi
mov ecx, eax
shr ecx, 4
mov edi, eax
shr edi, 9
xor edi, ecx
xor ebx, ebx
nop dword [eax]
and edi, esi
lea ecx, [edi + edi*2]
mov edx, dword [ebp - 0x24]
mov edx, dword [edx + ecx*8]
cmp edx, eax
je 0x101192e5
cmp edx, dword [ebp - 0x2c]
je 0x10119215
add edi, ebx
inc edi
inc ebx
cmp ebx, esi
jbe 0x101191f0
jmp 0x10119215
mov eax, dword [esi + 0x1c]
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x20]
push eax
call fcn.101197f0
test al, al
mov edi, dword [ebp + 8]
jne 0x101193de
mov ecx, dword [edi + 0x20]
mov eax, dword [0x105dc2cc]
mov dword [ebp - 0x24], eax
mov edx, dword [ecx + 4]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x1011924d
mov ecx, dword [ebp - 0x30]
cmp edx, dword [ebp - 0x24]
je 0x1011927b
mov esi, dword [0x105dc2b8]
mov ebx, dword [0x105dc2f4]
mov ecx, dword [ebp - 0x30]
nop dword [eax]
cmp edx, esi
je 0x1011926c
cmp edx, ebx
jne 0x101193be
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 4]
test ecx, ecx
je 0x10119260
cmp edx, dword [ebp - 0x24]
jne 0x10119260
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x3c], 0
je 0x101193be
mov ecx, dword [ecx + 0x18]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x38], eax
cmp ecx, eax
je 0x101193be
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x2c], edx
mov esi, dword [eax + 0x38]
dec esi
mov eax, ecx
shr eax, 4
mov ebx, ecx
shr ebx, 9
xor ebx, eax
xor edx, edx
nop word [eax + eax]
and ebx, esi
lea edi, [ebx + ebx*2]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + edi*4]
cmp eax, ecx
je 0x1011931b
cmp eax, dword [ebp - 0x38]
je 0x101193be
add ebx, edx
inc ebx
inc edx
cmp edx, esi
jbe 0x101192c0
jmp 0x101193be
mov edx, dword [ebp - 0x24]
mov edx, dword [edx + ecx*8 + 8]
test edx, edx
je 0x10119215
cmp edx, 1
je 0x101195be
mov al, 1
cmp edx, 2
jne 0x1011930f
mov eax, dword [ebp - 0x24]
cmp byte [eax + ecx*8 + 0x10], 0
setne al
mov dword [ebp - 0x10], 0
jmp 0x101195c0
mov eax, dword [ebp - 0x2c]
cmp byte [eax + edi*4 + 5], 0
je 0x101193be
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax + edi*4 + 4]
mov byte [ebp - 0x39], al
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1c]
mov ebx, dword [eax + 4]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1011934c
mov edi, dword [ebp - 0x30]
cmp ebx, dword [ebp - 0x24]
je 0x1011937b
mov eax, dword [0x105dc2b8]
mov ecx, dword [0x105dc2f4]
mov edi, dword [ebp - 0x30]
nop word [eax + eax]
cmp ebx, eax
je 0x1011936c
cmp ebx, ecx
jne 0x101196cc
mov edi, dword [edi + 0x18]
mov ebx, dword [edi + 4]
test edi, edi
je 0x10119360
cmp ebx, dword [ebp - 0x24]
jne 0x10119360
mov eax, dword [edi + 0x18]
cmp eax, dword [ebp - 0x38]
je 0x101196cc
mov edx, eax
shr edx, 4
mov ecx, eax
shr ecx, 9
xor ecx, edx
xor edx, edx
and ecx, esi
lea edi, [ecx + ecx*2]
mov ebx, dword [ebp - 0x2c]
mov ebx, dword [ebx + edi*4]
cmp ebx, eax
je 0x101196ae
cmp ebx, dword [ebp - 0x38]
je 0x101196cc
add ecx, edx
inc ecx
inc edx
cmp edx, esi
jbe 0x10119395
jmp 0x101196cc
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x20]
push dword [ebp - 0x30]
call fcn.101198a0
cmp eax, 0xff
mov edi, dword [ebp + 8]
jbe 0x10119511
movzx eax, byte [ebp + 0xc]
cmp byte [ebp + 0x10], 0
jne 0x10119417
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 0xdc]
lea ecx, [eax + 1]
cmp ecx, 0x100
jae 0x10119759
mov dword [esi + 0xdc], ecx
mov edx, dword [esi + 0xe0]
cmp edx, ecx
cmova ecx, edx
mov dword [esi + 0xe0], ecx
xor edx, edx
cmp dword [ebp - 0x34], 0xd
setne dl
mov byte [ebp - 0x25], al
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x10], 1
lea esi, [ebp - 0x4c]
lea edi, [ebp - 0x25]
mov ecx, dword [ebp - 0x20]
push edx
push esi
push edi
push eax
call fcn.10114ea0
movzx eax, byte [ebp - 0x25]
mov ecx, dword [ebp - 0x20]
push 1
push eax
mov eax, dword [ebp + 8]
push dword [eax + 0x20]
call fcn.10115a60
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call fcn.10108bf0
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], eax
cmp edx, eax
je 0x101194b5
nop word cs:[eax + eax]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push dword [ebp - 0x2c]
mov dword [ebp - 0x24], edx
push dword [edx]
call fcn.10108c00
test al, al
mov edx, dword [ebp - 0x24]
je 0x10119745
add edx, 4
cmp edx, dword [ebp - 0x34]
jne 0x10119490
movzx eax, byte [ebp - 0x25]
cmp al, byte [ebp + 0xc]
je 0x101194d5
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
movzx eax, al
movzx edx, byte [ebp + 0xc]
push 0
push eax
push edx
push 6
call fcn.10108a70
mov ecx, dword [ebp - 0x4c]
test ecx, ecx
je 0x1011968f
mov eax, dword [ebp - 0x44]
sub eax, ecx
cmp eax, 0x1000
jb 0x10119502
mov edx, dword [ecx - 4]
add ecx, 0xfffffffc
sub ecx, edx
cmp ecx, 0x20
jae 0x10119771
add eax, 0x23
mov ecx, edx
push eax
push ecx
call fcn.101ac81b
add esp, 8
jmp 0x1011968f
mov dword [ebp - 0x30], eax
mov eax, dword [edi + 0x1c]
mov ecx, dword [0x105dc2cc]
mov esi, dword [eax + 4]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x1011952e
mov edx, dword [ebp - 0x38]
cmp esi, ecx
je 0x1011955a
mov edi, dword [0x105dc2b8]
mov ebx, dword [0x105dc2f4]
mov edx, dword [ebp - 0x38]
nop dword [eax]
cmp esi, edi
je 0x1011954c
cmp esi, ebx
jne 0x1011961b
mov edx, dword [edx + 0x18]
mov esi, dword [edx + 4]
test edx, edx
je 0x10119540
cmp esi, ecx
jne 0x10119540
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x3c], 0
je 0x1011961b
mov ecx, dword [edx + 0x18]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x40]
mov dword [ebp - 0x2c], eax
cmp ecx, eax
je 0x1011961b
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
nop word cs:[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 0x101195f7
cmp esi, dword [ebp - 0x2c]
je 0x1011961b
add ebx, eax
inc ebx
inc eax
cmp eax, edi
jbe 0x101195a0
jmp 0x1011961b
xor eax, eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp + 8]
cmp ecx, 0xd
sete cl
xor cl, al
xor cl, 1
movzx eax, cl
mov eax, dword [edx + eax*4 + 0x1c]
mov dword [ebp - 0x10], 0
movzx edx, byte [ebp + 0x10]
movzx esi, byte [ebp + 0xc]
mov ecx, dword [ebp - 0x20]
push edx
push esi
push eax
call fcn.10115a60
jmp 0x1011968f
mov eax, dword [ebp - 0x24]
cmp byte [eax + edx*4 + 5], 0
je 0x1011961b
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax + edx*4 + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x30]
jmp 0x10119667
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ecx + 0xdc]
lea eax, [ebx + 1]
mov dword [ebp - 0x10], 0
cmp eax, 0x100
jae 0x10119776
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 - 0x38]
call fcn.10115a60
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
xor eax, eax
cmp ecx, 0xd
sete al
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov edx, 0x30
sub edx, eax
movzx eax, bl
movzx esi, byte [ebp - 0x24]
movzx edi, byte [ebp + 0xc]
push eax
push esi
push edi
push edx
call fcn.10108a70
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x40]
mov dword [eax + 0xdc], ecx
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
mov eax, dword [ebp - 0x2c]
cmp byte [eax + edi*4 + 5], 0
je 0x101196cc
mov eax, dword [ebp - 0x2c]
movzx ebx, byte [eax + edi*4 + 4]
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x34]
jmp 0x10119718
mov ecx, dword [ebp - 0x20]
mov ebx, dword [ecx + 0xdc]
lea eax, [ebx + 1]
mov dword [ebp - 0x10], 0
cmp eax, 0x100
jae 0x10119791
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 - 0x30]
call fcn.10115a60
mov ecx, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x24]
xor eax, eax
cmp ecx, 0xd
sete al
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
mov edx, 0x2e
sub edx, eax
movzx eax, byte [ebp - 0x39]
movzx esi, bl
movzx edi, byte [ebp + 0xc]
push eax
push esi
push edi
push edx
call fcn.10108a70
jmp 0x1011968f
mov eax, dword [ebp + 8]
add eax, 8
push 0x10534a2f
push eax
call fcn.1010d850
add esp, 8
add edi, 8
push 0xff
push 1
push 0x105353e4
push edi
call fcn.1010d850
add esp, 0x10
call fcn.10378384
mov eax, dword [ebp - 0x38]
add eax, 8
push 0xff
push 1
push 0x105353e4
push eax
call fcn.1010d850
add esp, 0x10
mov eax, dword [ebp - 0x30]
add eax, 8
push 0xff
push 1
push 0x105353e4
push eax
call fcn.1010d850
add esp, 0x10
nop dword [eax]
push ebp
sub esp, 0x10
add ebp, 0xc
lea ecx, [ebp - 0x4c]
call fcn.1004e080
add esp, 0x10
pop ebp
ret