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

Disassembly:
mov eax, 0x20
call fcn.101fe2f0
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
push edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
push dword [esi + 0x50]
call fcn.10056ba0
or ebp, 0xffffffff
lea ecx, [esi + 0x10]
add esp, 4
mov dword [esp + 0x10], ebp
cmp dword [esi + 0x78], 0
mov edx, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], ecx
je 0x10091099
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 6
jmp 0x100910b3
mov eax, dword [ecx]
mov dword [esp + 0x34], ecx
mov edi, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
shr edi, 6
and edi, 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edi
xor ebx, ebx
test edx, edx
jle 0x10091798
nop dword [eax]
push ebx
push dword [esi + 0x50]
call fcn.10056df0
mov ecx, dword [esp + 0x3c]
add esp, 8
mov edi, eax
mov ecx, dword [ecx]
test byte [ecx + 0xc], 0x10
jne 0x1009110a
test dword [edi + 0x84], 0x200
je 0x1009110a
test ebx, ebx
js 0x100910ed
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x22
call eax
add esp, 8
test eax, eax
je 0x100917a5
cmp dword [esp + 0x24], 0
jne 0x10091141
test dword [edi + 0x84], 0x400
je 0x10091141
test ebx, ebx
js 0x10091124
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x28
call eax
add esp, 8
test eax, eax
je 0x100917a5
push edi
call fcn.100f57b0
add esp, 4
mov ecx, eax
cmp ebp, 0xffffffff
je 0x100911b1
test ebp, ebp
je 0x10091177
test ecx, ecx
je 0x100911c6
lea eax, [ebx + 1]
cmp eax, dword [esp + 0x14]
jl 0x10091172
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
test byte [eax + 0xc], 0x20
je 0x10091205
cmp ecx, 1
jmp 0x100911c4
test ecx, ecx
je 0x10091205
mov eax, ebx
test ebx, ebx
jns 0x1009118a
mov eax, dword [esi + 0x5c]
jmp 0x1009118d
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x1009119c
mov eax, edi
mov dword [esi + 0x60], 0x25
jmp 0x100911ef
push eax
push dword [esi + 0x50]
call fcn.10056df0
add esp, 8
mov dword [esi + 0x60], 0x25
jmp 0x100911ef
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
test byte [eax + 0xc], 0x20
je 0x10091205
cmp ecx, 1
je 0x10091205
test ecx, ecx
je 0x10091205
mov eax, ebx
test ebx, ebx
jns 0x100911d1
mov eax, dword [esi + 0x5c]
jmp 0x100911d4
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x100911dc
mov eax, edi
jmp 0x100911e8
push eax
push dword [esi + 0x50]
call fcn.10056df0
add esp, 8
mov dword [esi + 0x60], 0x4f
push esi
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x1c]
push 0
call eax
add esp, 8
test eax, eax
je 0x100917a5
cmp dword [esp + 0x14], 1
jle 0x100912e7
push edi
call fcn.100f03e0
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x10091256
push ebp
call fcn.1004f460
add esp, 4
cmp eax, 0x198
jne 0x100912e3
lea eax, [esp + 0x2c]
push eax
push str.decoded_from_explicit
push ebp
call fcn.10099630
add esp, 0xc
cmp eax, 1
jne 0x10091256
xor eax, eax
cmp dword [esp + 0x2c], eax
sete al
jmp 0x100912a0
or eax, 0xffffffff
mov dword [esp + 0x28], eax
mov eax, ebx
test ebx, ebx
jns 0x10091268
mov eax, dword [esi + 0x5c]
jmp 0x1009126b
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x10091273
mov eax, edi
jmp 0x1009127f
push eax
push dword [esi + 0x50]
call fcn.10056df0
add esp, 8
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x60], 1
call eax
add esp, 8
test eax, eax
je 0x100917a5
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x100912e3
mov eax, ebx
test ebx, ebx
jns 0x100912af
mov eax, dword [esi + 0x5c]
jmp 0x100912b2
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x100912ba
mov eax, edi
jmp 0x100912c6
push eax
push dword [esi + 0x50]
call fcn.10056df0
add esp, 8
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x60], 0x5e
call eax
add esp, 8
test eax, eax
je 0x100917a5
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx]
test byte [eax + 0xc], 0x20
je 0x10091641
cmp dword [esp + 0x14], 1
jle 0x10091641
cmp dword [edi + 0x7c], 0xffffffff
je 0x10091362
test byte [edi + 0x84], 0x10
jne 0x10091335
test ebx, ebx
js 0x10091318
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x50
call eax
add esp, 8
test eax, eax
je 0x100917a5
test byte [edi + 0x88], 4
jne 0x10091362
test ebx, ebx
js 0x10091345
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x51
call eax
add esp, 8
test eax, eax
je 0x100917a5
mov eax, dword [edi + 0x84]
and eax, 0x10011
cmp eax, 0x11
jne 0x10091396
test ebx, ebx
js 0x10091379
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x59
call eax
add esp, 8
test eax, eax
je 0x100917a5
mov eax, dword [edi + 0x84]
test al, 0x10
je 0x100913b4
test al, 2
jne 0x100913e1
test ebx, ebx
js 0x100913ab
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 0x5c
jmp 0x100913cb
test byte [edi + 0x88], 4
je 0x100913e1
test ebx, ebx
js 0x100913c4
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 0x52
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
call eax
add esp, 8
test eax, eax
je 0x100917a5
push edi
call fcn.100df8c0
push eax
call fcn.100f3ea0
add esp, 8
test eax, eax
jne 0x10091418
test ebx, ebx
js 0x100913fb
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x53
call eax
add esp, 8
test eax, eax
je 0x100917a5
test byte [edi + 0x84], 0x10
jne 0x10091433
test byte [edi + 0x88], 2
jne 0x10091433
cmp dword [edi + 0xa4], 0
jne 0x1009146a
push edi
call fcn.1004dac0
push eax
call fcn.100f3ea0
add esp, 8
test eax, eax
jne 0x1009146a
test ebx, ebx
js 0x1009144d
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x54
call eax
add esp, 8
test eax, eax
je 0x100917a5
push edi
call fcn.1004dac0
push eax
call fcn.100f3ea0
add esp, 8
test eax, eax
jne 0x100914b5
cmp dword [edi + 0xa4], eax
je 0x100914b5
test dword [edi + 0x84], 0x80000
jne 0x100914b5
test ebx, ebx
js 0x10091498
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x58
call eax
add esp, 8
test eax, eax
je 0x100917a5
mov eax, dword [edi + 0xa4]
test eax, eax
je 0x100914f0
push eax
call fcn.10056ba0
add esp, 4
test eax, eax
jg 0x100914f0
test ebx, ebx
js 0x100914d3
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x57
call eax
add esp, 8
test eax, eax
je 0x100917a5
lea eax, [edi + 0x14]
push eax
lea eax, [edi + 0x48]
push eax
call fcn.100f2ae0
add esp, 8
test eax, eax
je 0x10091528
test ebx, ebx
js 0x1009150b
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x4e
call eax
add esp, 8
test eax, eax
je 0x100917a5
cmp dword [edi + 0x98], 0
je 0x10091561
test dword [edi + 0x84], 0x20000
je 0x10091561
test ebx, ebx
js 0x10091544
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x5a
call eax
add esp, 8
test eax, eax
je 0x100917a5
cmp dword [edi + 0x94], 0
je 0x1009159a
test dword [edi + 0x84], 0x40000
je 0x1009159a
test ebx, ebx
js 0x1009157d
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x5b
call eax
add esp, 8
test eax, eax
je 0x100917a5
push edi
call fcn.100f0630
add esp, 4
cmp eax, 2
jl 0x10091606
lea eax, [ebx + 1]
cmp eax, dword [esp + 0x14]
jge 0x100915e4
mov eax, dword [edi + 0x98]
test eax, eax
je 0x100915c0
cmp dword [eax], 0
jne 0x100915e4
test ebx, ebx
js 0x100915c7
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x55
call eax
add esp, 8
test eax, eax
je 0x100917a5
test byte [edi + 0x84], 0x10
je 0x1009163d
cmp dword [edi + 0x94], 0
jne 0x1009163d
test ebx, ebx
js 0x100915fd
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 0x56
jmp 0x10091627
push edi
call fcn.10058d60
push eax
call fcn.10056ba0
add esp, 8
test eax, eax
jle 0x1009163d
test ebx, ebx
js 0x10091620
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 0x5d
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
call eax
add esp, 8
test eax, eax
je 0x100917a5
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
test edx, edx
jle 0x100916dc
cmp ebx, dword [esi + 0x4c]
jl 0x10091675
mov eax, dword [ecx]
cmp edx, dword [eax + 0x10]
jne 0x10091675
push 4
push dword [eax + 0x14]
push edi
call fcn.100f19e0
add esp, 0xc
sub eax, 1
je 0x100916dc
sub eax, 1
je 0x1009169d
mov edx, dword [esp + 0x20]
xor eax, eax
test ebp, ebp
setg al
push eax
push edx
push edi
call fcn.100f57d0
add esp, 0xc
sub eax, 0
je 0x1009169d
sub eax, 1
je 0x100916dc
mov eax, dword [esp + 0x34]
mov eax, dword [eax]
test byte [eax + 0xc], 0x20
je 0x100916dc
mov eax, ebx
test ebx, ebx
jns 0x100916a8
mov eax, dword [esi + 0x5c]
jmp 0x100916ab
mov dword [esi + 0x5c], ebx
test edi, edi
je 0x100916b3
mov eax, edi
jmp 0x100916bf
push eax
push dword [esi + 0x50]
call fcn.10056df0
add esp, 8
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x60], 0x1a
call eax
add esp, 8
test eax, eax
je 0x100917a5
cmp ebx, 1
jle 0x10091715
mov eax, dword [edi + 0x7c]
mov ecx, dword [esp + 0x18]
cmp eax, 0xffffffff
je 0x1009171d
add eax, dword [esp + 0x1c]
cmp ecx, eax
jle 0x1009171d
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x19
call eax
add esp, 8
test eax, eax
je 0x100917a5
test ebx, ebx
jle 0x1009172b
mov ecx, dword [esp + 0x18]
test byte [edi + 0x84], 0x20
jne 0x1009172b
inc ecx
mov dword [esp + 0x18], ecx
test dword [edi + 0x84], 0x400
je 0x10091784
mov eax, dword [edi + 0x80]
cmp eax, 0xffffffff
je 0x10091777
cmp dword [esp + 0x1c], eax
jle 0x10091768
test ebx, ebx
js 0x1009174f
mov dword [esi + 0x5c], ebx
mov eax, dword [esi + 0x1c]
push esi
push 0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], 0x26
call eax
add esp, 8
test eax, eax
je 0x100917a5
mov eax, dword [edi + 0x80]
inc eax
xor ebp, ebp
mov dword [esp + 0x1c], eax
jmp 0x10091789
mov eax, dword [esp + 0x1c]
inc eax
xor ebp, ebp
mov dword [esp + 0x1c], eax
jmp 0x10091789
mov ebp, 1
inc ebx
mov dword [esp + 0x10], ebp
cmp ebx, dword [esp + 0x14]
jl 0x100910c0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret