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

Disassembly:
sub esp, 0x60
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
push ebx
push ebp
mov ebp, dword [eax]
mov eax, dword [esp + 0x74]
mov ebx, dword [eax]
push esi
push edi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x18]
mov al, byte [ecx]
test al, al
jne 0x100232a7
cmp byte [ebx], al
je 0x1002362f
cmp al, 1
jne 0x100232c9
mov al, byte [ecx + 1]
add ecx, 1
test al, al
jns 0x100232c4
lea esi, [esp + 0x20]
call fcn.100111f0
mov edi, dword [esp + 0x20]
jmp 0x100232dd
movzx edi, al
jmp 0x100232d9
neg al
sbb eax, eax
and eax, 0x80000001
add eax, 0x7fffffff
mov edi, eax
mov dword [esp + 0x20], edi
mov al, byte [ebx]
cmp al, 1
jne 0x10023301
mov al, byte [ebx + 1]
test al, al
lea ecx, [ebx + 1]
jns 0x100232fc
lea esi, [esp + 0x24]
call fcn.100111f0
mov eax, dword [esp + 0x24]
jmp 0x10023313
movzx eax, al
jmp 0x1002330f
neg al
sbb eax, eax
and eax, 0x80000001
add eax, 0x7fffffff
mov dword [esp + 0x24], eax
cmp edi, eax
jne 0x10023573
xor ecx, ecx
cmp edi, ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], ecx
je 0x10023361
mov eax, edi
cdq
lea ebx, [ebp + 1]
mov ecx, ebx
mov esi, edx
mov dl, al
shrd eax, esi, 7
or dl, 0x80
mov byte [ecx], dl
shr esi, 7
mov edx, eax
add ecx, 1
or edx, esi
jne 0x10023333
and byte [ecx - 1], 0x7f
sub ecx, ebx
mov ebx, dword [esp + 0x14]
add ecx, 1
mov byte [ebp], 1
add ebp, ecx
mov dword [esp + 0x1c], ebp
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x40]
add esi, ecx
push eax
mov eax, esi
add ebx, ecx
call fcn.10011270
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
add esi, eax
lea ecx, [esp + 0x4c]
add esp, 4
push ecx
mov eax, ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebp
call fcn.10011270
add esp, 4
add ebx, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x34], eax
jmp 0x100233bd
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
cmp ebp, eax
jg 0x100233c7
jl 0x100233cb
cmp edi, ebx
jb 0x100233cb
mov edi, ebx
mov ebp, eax
mov ecx, dword [esp + 0x1c]
mov eax, edi
sub eax, dword [esp + 0x38]
mov esi, ebp
sbb esi, dword [esp + 0x3c]
jmp 0x100233e0
mov dl, al
shrd eax, esi, 7
or dl, 0x80
mov byte [ecx], dl
shr esi, 7
mov edx, eax
add ecx, 1
or edx, esi
jne 0x100233e0
and byte [ecx - 1], 0x7f
sub edi, 2
mov esi, edx
sbb ebp, esi
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x28]
cmp ebp, ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x38], edi
jne 0x100234a9
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x34]
jne 0x100234a9
mov edi, dword [esp + 0x18]
test byte [edi], 0xfe
je 0x1002345f
lea ecx, [esp + 0x50]
push ecx
mov eax, edi
call fcn.10011270
mov edx, dword [esp + 0x54]
add edi, eax
mov eax, dword [esp + 0x58]
add esp, 4
sub edx, 2
sbb eax, esi
add ebp, edx
adc dword [esp + 0x2c], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], ebp
jmp 0x1002346f
mov dword [esp + 0x28], 0x7fffffff
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x14]
test byte [edi], 0xfe
je 0x10023531
lea ecx, [esp + 0x58]
push ecx
mov eax, edi
call fcn.10011270
mov edx, dword [esp + 0x5c]
add edi, eax
mov eax, dword [esp + 0x60]
add esp, 4
sub edx, 2
sbb eax, esi
add ebx, edx
adc dword [esp + 0x34], eax
mov dword [esp + 0x14], edi
jmp 0x1002353a
mov ecx, dword [esp + 0x34]
cmp dword [esp + 0x2c], ecx
jg 0x100234fe
jl 0x100234b9
cmp ebp, ebx
jae 0x100234fe
mov edi, dword [esp + 0x18]
test byte [edi], 0xfe
je 0x100234f0
lea edx, [esp + 0x60]
push edx
mov eax, edi
call fcn.10011270
mov ecx, dword [esp + 0x68]
add edi, eax
mov eax, dword [esp + 0x64]
add esp, 4
sub eax, 2
sbb ecx, esi
add ebp, eax
adc dword [esp + 0x2c], ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x28], ebp
jmp 0x1002353a
mov dword [esp + 0x28], 0x7fffffff
mov dword [esp + 0x2c], esi
jmp 0x10023550
mov edi, dword [esp + 0x14]
test byte [edi], 0xfe
je 0x10023531
lea edx, [esp + 0x68]
push edx
mov eax, edi
call fcn.10011270
mov ecx, dword [esp + 0x70]
add edi, eax
mov eax, dword [esp + 0x6c]
add esp, 4
sub eax, 2
sbb ecx, esi
add ebx, eax
adc dword [esp + 0x34], ecx
mov dword [esp + 0x14], edi
jmp 0x1002353a
mov dword [esp + 0x34], esi
mov ebx, 0x7fffffff
cmp ebp, 0x7fffffff
jne 0x100233b1
cmp dword [esp + 0x2c], esi
jne 0x100233b1
cmp ebx, 0x7fffffff
jne 0x100233b1
cmp dword [esp + 0x34], esi
jne 0x100233b1
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
jmp 0x10023295
jge 0x100235d2
xor ecx, ecx
test edi, edi
je 0x100235b3
mov eax, edi
cdq
lea ebx, [ebp + 1]
mov ecx, ebx
mov esi, edx
mov dl, al
shrd eax, esi, 7
or dl, 0x80
mov byte [ecx], dl
shr esi, 7
mov edx, eax
add ecx, 1
or edx, esi
jne 0x10023585
and byte [ecx - 1], 0x7f
sub ecx, ebx
mov ebx, dword [esp + 0x14]
add ecx, 1
mov byte [ebp], 1
add ebp, ecx
mov dword [esp + 0x1c], ebp
add dword [esp + 0x18], ecx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.10011050
mov ebp, dword [esp + 0x24]
add esp, 8
jmp 0x10023295
xor ecx, ecx
test eax, eax
je 0x1002360a
cdq
lea edi, [ebp + 1]
mov ecx, edi
mov esi, edx
mov dl, al
shrd eax, esi, 7
or dl, 0x80
mov byte [ecx], dl
shr esi, 7
mov edx, eax
add ecx, 1
or edx, esi
jne 0x100235e0
and byte [ecx - 1], 0x7f
sub ecx, edi
add ecx, 1
mov byte [ebp], 1
add ebp, ecx
mov dword [esp + 0x1c], ebp
add ebx, ecx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x1c], ebx
call fcn.10011050
mov ebx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
add esp, 8
jmp 0x10023295
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x74]
mov byte [ebp], 0
add ecx, 1
pop edi
add ebp, 1
pop esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x74]
add ebx, 1
mov dword [edx], ebp
pop ebp
mov dword [ecx], ebx
pop ebx
add esp, 0x60
ret