Function at 0x100ffd70
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 0x100ffdaa
movzx eax, byte [eax + 0x1d]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
cmp word [esp + 0x74], si
je 0x100ffdc1
test byte [ecx + 0x3c], 0x80
je 0x100ffdc1
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 0x100ffdb7
movzx ecx, ax
mov eax, 1
xor edx, edx
mov byte [esp + 0x17], 1
mov dword [esp + 0x20], ecx
call fcn.10134960
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 0x100ffe10
mov ecx, dword [esp + 0x44]
cmp ecx, dword [esp + 0x5c]
ja 0x101002e3
jb 0x100ffe2e
mov edx, dword [esp + 0x40]
cmp edx, dword [esp + 0x58]
jae 0x101002e3
movzx eax, word [esp + 0x74]
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
jg 0x101002e3
test ecx, ecx
jle 0x100ffe55
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 0x100ffe65
mov eax, dword [esp + 0x6c]
mov edx, dword [eax + 0x18]
mov edx, dword [edx + ecx*4]
jmp 0x100ffe69
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 0x100fffa1
mov dword [esp + 0x24], ecx
mov eax, 1
xor edx, edx
call fcn.10134960
mov ebx, edx
mov ebp, eax
and eax, dword [esp + 0x40]
mov ecx, ebx
and ecx, dword [esp + 0x44]
or eax, ecx
jne 0x100fff85
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x24]
mov eax, dword [eax + edx]
call fcn.100ca8a0
mov edi, eax
cmp byte [edi], 0x99
jne 0x100fff85
mov ecx, dword [esp + 0x30]
cmp dword [edi + 0x1c], ecx
jne 0x100fff85
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.100fa380
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100fff85
test byte [esi + 0x12], 2
je 0x100fff7d
cmp word [edi + 0x20], 0
jl 0x100fff7d
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.100ca8d0
add esp, 4
test eax, eax
jne 0x100fff4f
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.100ca8d0
add esp, 4
test eax, eax
jne 0x100fff6d
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 8]
mov eax, dword [eax]
push eax
push edi
call fcn.100a2c30
add esp, 8
test eax, eax
jne 0x100fff85
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 0x100ffe97
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x24]
test eax, 0x1000
jne 0x10100244
test eax, 0x100
je 0x100fffc5
xor esi, esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x38], esi
lea eax, [esi + 1]
jmp 0x100ffff9
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + 0x1c]
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x100ffdb7
test byte [ecx + 0x38], 4
jne 0x100ffdb7
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 0x10100244
lea ecx, [ecx]
mov eax, dword [esp + 0x1c]
movzx ecx, word [eax + 0x18]
cmp edx, ecx
jge 0x10100053
cmp word [eax + 0x1a], 0
jne 0x10100053
mov eax, dword [eax + 0x2c]
mov eax, dword [eax + edx*4]
movzx eax, word [eax + 0x12]
test al, 0x82
je 0x10100053
test al, al
jns 0x10100228
mov byte [esp + 0x17], 0
jmp 0x10100228
test esi, esi
je 0x10100075
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 0x1010007d
jmp 0x1010007a
mov byte [esp + 0x18], 0
or ebp, 0xffffffff
cmp byte [esp + 0x17], 0
je 0x101000a2
test ebp, ebp
jl 0x101000a2
cmp edx, ecx
jl 0x101000a2
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 4]
lea edx, [ebp + ebp*2]
cmp byte [eax + edx*8 + 0x14], 0
jne 0x101000a2
mov byte [esp + 0x17], 0
xor esi, esi
mov bl, 1
xor edi, edi
jmp 0x101000b0
cmp esi, dword [esp + 0x20]
jge 0x1010017e
mov eax, 1
xor edx, edx
mov ecx, esi
call fcn.10134960
and eax, dword [esp + 0x40]
and edx, dword [esp + 0x44]
or eax, edx
jne 0x10100172
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 8]
mov ecx, dword [edi + edx]
mov eax, ecx
test eax, eax
je 0x10100114
jmp 0x101000f0
mov edx, dword [eax + 4]
test edx, 0x1000
je 0x10100114
test edx, 0x40000
je 0x1010010d
mov eax, dword [eax + 0x14]
mov edx, dword [eax + 8]
mov eax, dword [edx]
jmp 0x10100110
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x101000f0
test dword [esp + 0x70], 0x300
jne 0x10100120
xor bl, bl
cmp byte [eax], 0x99
jne 0x10100172
mov edx, dword [esp + 0x30]
cmp dword [eax + 0x1c], edx
jne 0x10100172
movsx eax, word [eax + 0x20]
cmp eax, ebp
jne 0x10100172
test ebp, ebp
jl 0x101001ad
mov edx, dword [esp + 0x64]
mov eax, dword [edx]
push eax
call fcn.100ca8d0
add esp, 4
test eax, eax
jne 0x10100154
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.100a2c30
add esp, 8
test eax, eax
je 0x101001a9
inc esi
add edi, 0x18
test bl, bl
jne 0x101000b0
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1010018f
movzx edx, word [esp + 0x38]
cmp eax, edx
jge 0x10100194
mov byte [esp + 0x17], 0
cmp byte [esp + 0x1b], 0
je 0x10100244
mov byte [esp + 0x17], 1
jmp 0x1010024f
test ebp, ebp
jge 0x101001b2
mov byte [esp + 0x1b], 1
mov eax, 1
xor edx, edx
mov ecx, esi
call fcn.10134960
or dword [esp + 0x40], eax
mov ecx, dword [esp + 0x64]
or dword [esp + 0x44], edx
mov eax, 0x100
test word [ecx + 0x22], ax
jne 0x10100228
cmp byte [esp + 0x1a], 0
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 8]
lea edx, [esi + esi*2]
je 0x101001fc
mov al, byte [esp + 0x18]
xor al, byte [esp + 0x19]
cmp al, byte [ecx + edx*8 + 0xc]
jne 0x100ffdb7
jmp 0x10100228
mov al, byte [ecx + edx*8 + 0xc]
xor al, byte [esp + 0x18]
mov byte [esp + 0x19], al
je 0x10100223
mov ecx, dword [esp + 0x2c]
mov eax, 1
xor edx, edx
call fcn.10134960
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 0x10100194
mov esi, dword [esp + 0x24]
jmp 0x10100020
cmp byte [esp + 0x17], 0
je 0x101002d4
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 0x101002d4
mov dword [esp + 0x30], ebp
mov eax, 1
xor edx, edx
mov ecx, ebp
call fcn.10134960
mov edi, edx
mov esi, eax
and eax, dword [esp + 0x40]
mov ecx, edi
and ecx, dword [esp + 0x44]
or eax, ecx
jne 0x101002c8
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.100f9c60
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 0x101002c8
or dword [esp + 0x40], esi
or dword [esp + 0x44], edi
add dword [esp + 0x30], 0x18
inc ebp
cmp ebp, dword [esp + 0x20]
jl 0x1010026d
inc dword [esp + 0x2c]
cmp byte [esp + 0x17], 0
jne 0x100ffe10
mov edx, dword [esp + 0x58]
cmp dword [esp + 0x40], edx
jne 0x10100304
mov eax, dword [esp + 0x5c]
cmp dword [esp + 0x44], eax
jne 0x10100304
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