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

Disassembly:
push edi
push ebx
push ebp
lea esp, [esp - 0x27c]
mov eax, dword [0x102e9794]
mov edi, dword [esp + 0x28c]
xor eax, esp
mov dword [esp + 0x278], eax
test edi, edi
mov ebp, dword [esp + 0x290]
mov ebx, dword [esp + 0x294]
je 0x100bda7f
test ebp, ebp
je 0x100bda58
test ebx, ebx
jle 0x100bda31
cmp dword [esp + 0x294], 2
jge 0x100bd4da
mov dword [ebp], 0
mov ecx, dword [esp + 0x278]
xor ecx, esp
cmp ecx, dword [0x102e9794]
jne 0x100bd915
xor eax, eax
lea esp, [esp + 0x27c]
pop ebp
pop ebx
pop edi
ret 0xc
push ebx
push ebp
call fcn.100c5c20
lea esp, [esp + 8]
mov edx, 1
lea ecx, [ebx*4]
mov dword [esp + 0x18], edx
lea eax, [ecx + edi]
add ecx, ebp
add eax, 0xfffffffc
add ecx, 0xfffffffc
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ebp
mov dword [esp], esi
nop dword [eax + eax]
nop dword [eax]
nop word [eax + eax]
cmp ebx, 9
jg 0x100bd6ed
cmp eax, edi
jbe 0x100bd689
mov edx, eax
lea ecx, [edi + 4]
sub edx, edi
add edx, 3
mov ebx, edx
mov ebp, dword [esp + 0x4c]
sar ebx, 1
shr ebx, 0x1e
add ebx, edx
lea esi, [ebp + 4]
mov ebp, eax
xor edx, edx
sar ebx, 2
sub ebp, ecx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], esi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], edi
nop dword [eax + eax]
nop dword [eax]
nop dword [eax + eax]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov ebx, edx
cmp eax, dword [esp + 0x58]
mov ebp, dword [edx]
jb 0x100bd65c
mov edx, dword [esp + 0x5c]
lea esi, [edx*4]
neg esi
add esi, dword [esp + 0x3c]
add esi, 4
mov dword [esp + 0x44], esi
shr esi, 3
test esi, esi
jbe 0x100bd91a
mov dword [esp + 0x74], esi
xor edx, edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x40]
mov esi, dword [esp + 0x58]
nop dword [eax + eax]
nop dword [eax]
nop word [eax + eax]
mov edi, dword [esi + edx*8]
cmp ebp, dword [esi + edx*8]
jg 0x100bd5f6
mov ebp, edi
lea ebx, [edx*8]
lea ecx, [eax + ebx]
add ebx, esi
mov edi, dword [esi + edx*8 + 4]
cmp ebp, dword [esi + edx*8 + 4]
jg 0x100bd614
mov ebp, edi
lea ebx, [edx*8]
lea ecx, [eax + ebx]
add ebx, esi
add ecx, 4
add ebx, 4
inc edx
cmp edx, dword [esp + 0x74]
jb 0x100bd5e0
add edx, edx
mov eax, dword [esp + 0x38]
inc edx
mov edi, dword [esp + 0x44]
mov esi, edx
sar edi, 1
dec esi
shr edi, 0x1e
add edi, dword [esp + 0x44]
sar edi, 2
cmp esi, edi
jae 0x100bd65c
mov edi, dword [esp + 0x50]
lea esi, [edx*4]
lea edx, [edi + edx*4 + 4]
cmp ebp, dword [edx - 4]
jg 0x100bd65c
add esi, dword [esp + 0x40]
lea ebx, [edx - 4]
mov ecx, esi
mov ebp, dword [edx - 4]
add ecx, 0xfffffffc
mov esi, dword [esp + 0x48]
mov edx, dword [eax]
mov dword [ebx], edx
mov dword [eax], ebp
add eax, 0xfffffffc
mov ebx, dword [esi]
mov ebp, dword [ecx]
mov dword [ecx], ebx
mov ecx, dword [esp + 0x5c]
inc ecx
add dword [esp + 0x48], 0xfffffffc
mov dword [esi], ebp
mov dword [esp + 0x5c], ecx
cmp ecx, dword [esp + 0x54]
jb 0x100bd580
mov edx, dword [esp + 0x18]
mov eax, dword [esp + edx*4 + 0x78]
dec edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x18], edx
mov ecx, dword [esp + edx*4 + 0x1f8]
mov eax, dword [esp + edx*4 + 0xf8]
mov edi, dword [esp + edx*4 + 0x178]
mov dword [esp + 0x4c], ecx
mov ebx, eax
sub ebx, edi
sar ebx, 2
inc ebx
cmp dword [esp + 0x18], 0
jne 0x100bd520
mov ecx, dword [esp + 0x278]
xor ecx, esp
mov esi, dword [esp]
cmp ecx, dword [0x102e9794]
jne 0x100bd915
xor eax, eax
lea esp, [esp + 0x27c]
pop ebp
pop ebx
pop edi
ret 0xc
mov edx, dword [esp + 0x4c]
mov ebp, dword [edi]
mov esi, dword [edi + 4]
mov ecx, dword [edx]
mov edx, ebp
cmp ebp, dword [edi + 4]
jge 0x100bd70f
mov esi, dword [esp + 0x4c]
mov edx, dword [esi + 4]
mov dword [esi], edx
mov esi, dword [edi + 4]
mov edx, esi
mov dword [edi], esi
cmp ebp, esi
jge 0x100bd71f
mov edx, dword [esp + 0x4c]
mov dword [edx + 4], ecx
mov dword [edi + 4], ebp
mov edx, dword [edi]
sar ebx, 1
mov ecx, ebx
shl ecx, 2
mov esi, dword [esp + 0x4c]
add esi, ecx
mov dword [esp + 0xc], esi
mov ebp, dword [edi + ecx]
mov dword [esp + 4], ebp
cmp edx, dword [edi + ecx]
jle 0x100bd747
mov ebp, esi
mov esi, dword [esp + 0x4c]
mov ecx, dword [edi + ecx]
jmp 0x100bd751
mov ebp, dword [esp + 0x4c]
mov ecx, edx
mov edx, dword [esp + 4]
mov ebp, dword [ebp]
mov esi, dword [esi]
mov dword [esp + 0x14], ebp
mov dword [esp + 8], esi
mov ebp, dword [eax]
cmp ecx, dword [eax]
jle 0x100bd773
mov dword [edi], ebp
mov ebp, dword [esp + 0x48]
mov esi, dword [ebp]
mov dword [esp + 0x10], esi
jmp 0x100bd77d
mov ebp, dword [esp + 0x14]
mov dword [edi], ecx
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x4c]
mov ebp, dword [esp + 0x10]
mov dword [esi], ebp
cmp ecx, dword [eax]
jg 0x100bd798
mov ebp, dword [esp + 0x48]
mov ecx, dword [eax]
mov esi, dword [ebp]
mov dword [esp + 0x14], esi
cmp ecx, edx
jl 0x100bd7ae
mov ebp, dword [esp + 0xc]
mov dword [edi + ebx*4], edx
mov edx, dword [esp + 8]
mov dword [ebp], edx
mov dword [eax], ecx
jmp 0x100bd7c6
mov ebp, dword [esp + 0xc]
mov dword [edi + ebx*4], ecx
mov ecx, dword [esp + 0x14]
mov dword [ebp], ecx
mov dword [eax], edx
mov edx, dword [esp + 8]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x48]
mov ebp, eax
mov ecx, dword [esp + 0x4c]
mov esi, dword [esp + 0x14]
mov dword [edx], esi
lea esi, [edi + 4]
mov dword [esp + 0x60], edx
lea ecx, [ecx + 4]
mov edx, dword [edi + ebx*4]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x50], edi
jmp 0x100bd820
mov eax, dword [ebp]
mov ecx, dword [esi]
mov dword [esi], eax
mov dword [ebp], ecx
mov ecx, dword [esp + 0x60]
mov edi, dword [esp + 0x64]
mov ebx, dword [ecx]
mov eax, dword [edi]
mov dword [edi], ebx
mov dword [ecx], eax
nop dword [eax + eax]
nop dword [eax]
nop word [eax + eax]
mov eax, dword [esp + 0x64]
mov ebx, esi
mov dword [esp + 0x70], eax
cmp ebp, esi
mov dword [esp + 0x68], ebp
mov eax, dword [esp + 0x60]
jbe 0x100bd90c
mov ecx, ebp
sub ecx, esi
add ecx, 3
mov edi, ecx
sar edi, 1
shr edi, 0x1e
add edi, ecx
sar edi, 2
mov dword [esp + 0x6c], edi
cmp edx, dword [esi]
jl 0x100bd8ce
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ecx
mov ecx, esi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], eax
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
nop dword [eax]
nop dword [eax]
add ebp, dword [esp + 0x70]
mov esi, ecx
mov eax, ebp
inc edi
add esi, 4
add eax, 4
cmp edi, dword [esp + 0x6c]
jae 0x100bd8a7
lea ebp, [edi]
lea ecx, [ebx]
lea ebp, [ebp*4]
lea ecx, [ecx + ebp]
cmp edx, dword [ecx]
jge 0x100bd880
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
cmp ebp, esi
jbe 0x100bd90c
mov ecx, ebp
sub ecx, esi
add ecx, 3
mov ebx, ecx
sar ebx, 1
shr ebx, 0x1e
add ebx, ecx
sar ebx, 2
mov dword [esp + 0x6c], ebx
xor ebx, ebx
cmp edx, dword [ebp]
jge 0x100bd90c
mov dword [esp + 0x34], esi
xor edi, edi
mov ecx, ebp
nop dword [eax]
neg edi
mov ebp, ecx
add edi, eax
inc ebx
mov esi, edi
add ebp, 0xfffffffc
add esi, 0xfffffffc
cmp ebx, dword [esp + 0x6c]
jae 0x100bd904
mov edi, ebx
shl edi, 2
mov ecx, dword [esp + 0x68]
sub ecx, edi
cmp edx, dword [ecx]
jl 0x100bd8e0
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x34]
cmp esi, ebp
je 0x100bd924
jmp 0x100bd7f1
call fcn.1023c450
mov edx, 1
jmp 0x100bd622
mov ecx, dword [esp + 0x64]
lea ebx, [esi - 4]
add ecx, 0xfffffffc
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], ecx
cmp edx, dword [esi - 4]
jne 0x100bd98f
mov dword [esp + 0x30], ebp
xor esi, esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x50], edi
nop dword [eax + eax]
nop dword [eax]
inc esi
mov ebp, esi
shl ebp, 2
mov edi, dword [esp + 0x20]
sub edi, ebp
mov eax, edi
add eax, 4
cmp eax, dword [esp + 0x50]
jbe 0x100bd983
mov ecx, dword [esp + 0x1c]
mov ebx, edi
sub ecx, ebp
cmp edx, dword [edi]
je 0x100bd960
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x50]
mov edx, ebx
mov esi, eax
sub edx, edi
sub esi, ebp
sar edx, 2
sar esi, 2
cmp edx, esi
jge 0x100bd9eb
cmp ebx, edi
je 0x100bd9dc
mov edx, dword [esp + 0x18]
mov dword [esp + edx*4 + 0x178], ebp
mov ebp, dword [esp + 0x60]
mov dword [esp + edx*4 + 0x1f8], ebp
mov dword [esp + edx*4 + 0xf8], eax
lea edx, [edx + 1]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], edx
mov dword [esp + 0x48], ecx
mov dword [esp + edx*4 + 0x78], eax
mov eax, ebx
jmp 0x100bd6b3
mov edx, dword [esp + 0x60]
mov edi, ebp
mov dword [esp + 0x4c], edx
jmp 0x100bd6b3
cmp ebp, eax
je 0x100bda26
mov edx, dword [esp + 0x18]
mov dword [esp + edx*4 + 0x178], edi
mov edi, dword [esp + 0x4c]
mov dword [esp + edx*4 + 0x1f8], edi
mov edi, ebp
mov dword [esp + edx*4 + 0xf8], ebx
lea edx, [edx + 1]
mov dword [esp + 0x18], edx
mov dword [esp + edx*4 + 0x78], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x4c], ecx
jmp 0x100bd6b3
mov dword [esp + 0x48], ecx
mov eax, ebx
jmp 0x100bd6b3
mov ecx, dword [esp + 0x278]
xor ecx, esp
cmp ecx, dword [0x102e9794]
jne 0x100bd915
mov eax, 0xfffffffa
lea esp, [esp + 0x27c]
pop ebp
pop ebx
pop edi
ret 0xc
mov ecx, dword [esp + 0x278]
xor ecx, esp
cmp ecx, dword [0x102e9794]
jne 0x100bd915
mov eax, 0xfffffff8
lea esp, [esp + 0x27c]
pop ebp
pop ebx
pop edi
ret 0xc
mov ecx, dword [esp + 0x278]
xor ecx, esp
cmp ecx, dword [0x102e9794]
jne 0x100bd915
jmp 0x100bda6d