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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x20], edx
inc eax
push edi
mov edi, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], edi
mov esi, eax
mov dword [ebp - 0xc], esi
test edi, edi
je 0x10130229
mov ebx, dword [edi + 0x30]
lea eax, [ebx + edi]
neg ebx
sbb ebx, ebx
and ebx, eax
je 0x10130229
mov ecx, dword [edi + 0x2c]
lea eax, [ecx + edi]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 8], ecx
je 0x10130229
cmp dword [ecx + 0x74], 0
je 0x1012f966
mov eax, dword [ecx + 0x78]
inc eax
neg eax
sbb eax, eax
and eax, esi
mov dword [ebp - 0xc], eax
push 6
lea edx, [ebp - 0x10]
mov ecx, edi
call fcn.10128398
mov edx, dword [ebx + 8]
or esi, 0xffffffff
mov ecx, dword [ebx + 0x60]
mov eax, dword [edx + ecx + 0x24]
cmp eax, esi
je 0x1012f98e
imul eax, eax, 0x1c
add eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x10]
jne 0x1012f9b4
mov eax, dword [edx + ecx + 0x28]
cmp eax, esi
je 0x1012f9a1
imul eax, eax, 0x1c
add eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x10]
jne 0x1012f9b4
mov eax, dword [edx + ecx + 0x2c]
cmp eax, esi
je 0x1012f9c1
imul eax, eax, 0x1c
add eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x10]
je 0x1012f9c1
cmp dword [ebx + 0xd8], 1
jg 0x1012f9c1
and dword [ebp - 0xc], 0
mov eax, dword [edx + ecx + 0x30]
cmp eax, esi
je 0x1012f9d4
imul eax, eax, 0x1c
add eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x10]
jne 0x1012f9fa
mov eax, dword [edx + ecx + 0x34]
cmp eax, esi
je 0x1012f9e7
imul eax, eax, 0x1c
add eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x10]
jne 0x1012f9fa
mov eax, dword [edx + ecx + 0x38]
cmp eax, esi
je 0x1012fa07
imul eax, eax, 0x1c
add eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x10]
je 0x1012fa07
cmp dword [ebx + 0xdc], 1
jg 0x1012fa07
and dword [ebp - 0xc], 0
mov eax, dword [edx + ecx + 0x5c]
cmp eax, esi
je 0x1012fa40
imul eax, eax, 0x1c
add eax, dword [ebx + 0x10]
add eax, dword [ebx + 0x5c]
je 0x1012fa40
mov eax, dword [edx + ecx + 0x60]
cmp eax, esi
je 0x1012fa40
imul eax, eax, 0x1c
add eax, dword [ebx + 0x10]
add eax, dword [ebx + 0x5c]
je 0x1012fa40
mov eax, dword [edx + ecx + 0x64]
cmp eax, esi
je 0x1012fa40
imul eax, eax, 0x1c
add eax, dword [ebx + 0x10]
add eax, dword [ebx + 0x5c]
jne 0x1012fa44
and dword [ebp - 0xc], 0
mov eax, dword [ebx + 0x6c]
mov esi, dword [ebx + 0xd8]
cdq
idiv esi
mov dword [ebp - 0x14], eax
mov ecx, edx
mov eax, dword [ebx + 0x70]
cdq
idiv dword [ebx + 0xdc]
neg ecx
mov edi, edx
mov edx, eax
sbb ecx, ecx
mov dword [ebp - 0x1c], edx
not ecx
and ecx, dword [ebp - 0xc]
neg edi
sbb edi, edi
xor eax, eax
not edi
inc eax
and edi, ecx
cmp esi, eax
jle 0x1012fa83
mov ecx, dword [ebp - 0x14]
jmp 0x1012fa88
mov ecx, eax
mov dword [ebp - 0x14], ecx
cmp dword [ebx + 0xdc], eax
jg 0x1012fa95
mov edx, eax
mov dword [ebp - 0x1c], eax
test ecx, ecx
je 0x10130229
test edx, edx
je 0x10130229
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0x12c]
test eax, eax
jne 0x1012faba
cmp dword [ecx + 0x130], eax
je 0x1012fad0
cmp eax, 4
jb 0x1012face
mov ecx, dword [ecx + 0x130]
cmp ecx, 0xf
ja 0x1012face
cmp eax, ecx
jbe 0x1012fad0
xor edi, edi
mov ecx, dword [ebx + 0x60]
mov edx, SysReAllocString
mov esi, dword [ebx + 8]
cmp dword [ebx + 0xd0], edx
jne 0x1012faf9
mov eax, dword [esi + ecx + 0x2c]
cmp eax, 0xffffffff
je 0x1012faf7
imul eax, eax, 0x1c
add eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x10]
jne 0x1012faf9
xor edi, edi
cmp dword [ebx + 0xd4], edx
jne 0x1012fb17
mov eax, dword [esi + ecx + 0x38]
cmp eax, 0xffffffff
je 0x1012fb15
imul eax, eax, 0x1c
add eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x10]
jne 0x1012fb17
xor edi, edi
cmp dword [ebx + 0x7c], 2
je 0x1012fb36
mov eax, dword [esi + ecx + 0xd8]
cmp eax, 0xffffffff
je 0x1012fb34
imul eax, eax, 0x1c
add eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x10]
jne 0x1012fb36
xor edi, edi
mov eax, dword [esi + ecx + 0xfc]
cmp eax, 0xffffffff
jne 0x1012fb46
xor eax, eax
jmp 0x1012fb4f
imul eax, eax, 0x1c
add eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x10]
xor edx, edx
test eax, eax
mov eax, dword [esi + ecx + 0x100]
setne dl
cmp eax, 0xffffffff
je 0x1012fb6e
imul eax, eax, 0x1c
add eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x10]
je 0x1012fb6e
inc edx
mov eax, dword [esi + ecx + 0x104]
cmp eax, 0xffffffff
je 0x1012fb86
imul eax, eax, 0x1c
add eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x10]
je 0x1012fb86
inc edx
test edx, edx
je 0x1012fb91
cmp edx, 3
je 0x1012fb96
xor edi, edi
cmp edx, 3
jne 0x1012fba3
mov eax, dword [ebx + 0x17c]
inc eax
neg eax
sbb eax, eax
and edi, eax
mov eax, dword [esi + ecx + 0x11c]
or edx, 0xffffffff
cmp eax, edx
je 0x1012fbea
imul eax, eax, 0x1c
add eax, dword [ebx + 0x10]
add eax, dword [ebx + 0x5c]
je 0x1012fbea
mov eax, dword [esi + ecx + 0x120]
cmp eax, edx
je 0x1012fbd2
imul eax, eax, 0x1c
add eax, dword [ebx + 0x10]
add eax, dword [ebx + 0x5c]
jne 0x1012fbea
mov eax, dword [esi + ecx + 0x154]
cmp eax, edx
je 0x1012fbe8
imul eax, eax, 0x1c
add eax, dword [ebx + 0x10]
add eax, dword [ebx + 0x5c]
jne 0x1012fbea
xor edi, edi
mov eax, dword [esi + ecx + 0x124]
cmp eax, edx
je 0x1012fc2e
imul eax, eax, 0x1c
add eax, dword [ebx + 0x10]
add eax, dword [ebx + 0x5c]
je 0x1012fc2e
mov eax, dword [esi + ecx + 0x128]
cmp eax, edx
je 0x1012fc16
imul eax, eax, 0x1c
add eax, dword [ebx + 0x10]
add eax, dword [ebx + 0x5c]
jne 0x1012fc2e
mov eax, dword [esi + ecx + 0x154]
cmp eax, edx
je 0x1012fc2c
imul eax, eax, 0x1c
add eax, dword [ebx + 0x10]
add eax, dword [ebx + 0x5c]
jne 0x1012fc2e
xor edi, edi
mov eax, dword [esi + ecx + 0x12c]
cmp eax, edx
je 0x1012fc72
imul eax, eax, 0x1c
add eax, dword [ebx + 0x10]
add eax, dword [ebx + 0x5c]
je 0x1012fc72
mov eax, dword [esi + ecx + 0x130]
cmp eax, edx
je 0x1012fc5a
imul eax, eax, 0x1c
add eax, dword [ebx + 0x10]
add eax, dword [ebx + 0x5c]
jne 0x1012fc72
mov eax, dword [esi + ecx + 0x154]
cmp eax, edx
je 0x1012fc70
imul eax, eax, 0x1c
add eax, dword [ebx + 0x10]
add eax, dword [ebx + 0x5c]
jne 0x1012fc72
xor edi, edi
mov eax, dword [esi + ecx + 0x134]
cmp eax, edx
jne 0x1012fc81
xor eax, eax
jmp 0x1012fc8a
imul eax, eax, 0x1c
add eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x10]
xor edx, edx
test eax, eax
mov eax, dword [esi + ecx + 0x138]
setne dl
cmp eax, 0xffffffff
je 0x1012fca9
imul eax, eax, 0x1c
add eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x10]
je 0x1012fca9
inc edx
test edx, edx
je 0x1012fcb8
sub edx, 2
neg edx
sbb edx, edx
not edx
and edi, edx
mov eax, dword [esi + ecx + 0x13c]
cmp eax, 0xffffffff
jne 0x1012fcc8
xor eax, eax
jmp 0x1012fcd1
imul eax, eax, 0x1c
add eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x10]
xor edx, edx
test eax, eax
mov eax, dword [esi + ecx + 0x140]
setne dl
cmp eax, 0xffffffff
je 0x1012fcf0
imul eax, eax, 0x1c
add eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x10]
je 0x1012fcf0
inc edx
test edx, edx
je 0x1012fcff
sub edx, 2
neg edx
sbb edx, edx
not edx
and edi, edx
mov eax, dword [esi + ecx + 0x144]
cmp eax, 0xffffffff
jne 0x1012fd0f
xor eax, eax
jmp 0x1012fd18
imul eax, eax, 0x1c
add eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x10]
xor edx, edx
test eax, eax
mov eax, dword [esi + ecx + 0x148]
setne dl
cmp eax, 0xffffffff
je 0x1012fd37
imul eax, eax, 0x1c
add eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x10]
je 0x1012fd37
inc edx
test edx, edx
je 0x1012fd46
sub edx, 2
neg edx
sbb edx, edx
not edx
and edi, edx
mov eax, dword [esi + ecx + 0x14c]
cmp eax, 0xffffffff
jne 0x1012fd56
xor eax, eax
jmp 0x1012fd5f
imul eax, eax, 0x1c
add eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x10]
xor edx, edx
test eax, eax
mov eax, dword [esi + ecx + 0x150]
setne dl
cmp eax, 0xffffffff
je 0x1012fd7e
imul eax, eax, 0x1c
add eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x10]
je 0x1012fd7e
inc edx
test edx, edx
je 0x1012fd8d
sub edx, 2
neg edx
sbb edx, edx
not edx
and edi, edx
mov eax, dword [esi + ecx + 0x164]
cmp eax, 0xffffffff
jne 0x1012fd9d
xor eax, eax
jmp 0x1012fda6
imul eax, eax, 0x1c
add eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x10]
xor edx, edx
test eax, eax
mov eax, dword [esi + ecx + 0x168]
setne dl
cmp eax, 0xffffffff
je 0x1012fdc5
imul eax, eax, 0x1c
add eax, dword [ebx + 0x5c]
add eax, dword [ebx + 0x10]
je 0x1012fdc5
inc edx
test edx, edx
je 0x1012fdd4
sub edx, 2
neg edx
sbb edx, edx
not edx
and edi, edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], edi
mov ecx, dword [eax + 0xe4]
test ecx, ecx
je 0x1012fdee
mov eax, dword [eax + 0x13c]
add eax, ecx
jmp 0x1012fdf0
xor eax, eax
test eax, eax
je 0x1012ff20
mov eax, dword [eax + 0x38]
lea edx, [ebp - 0x10]
mov ecx, dword [ebp - 4]
push 7
mov dword [ebp - 0x28], eax
call fcn.10128398
test eax, eax
je 0x1012ff20
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x20]
lea eax, [ecx + edx]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ebp - 0x10]
movzx eax, byte [esi + eax*2]
mov esi, dword [ebx + 8]
imul eax, eax, 0x38
mov ecx, dword [ecx + eax + 0x2c]
lea eax, [ecx + edx]
neg ecx
sbb ecx, ecx
xor edx, edx
and ecx, eax
inc edx
cmp dword [ecx + 4], edx
jbe 0x1012ff20
mov eax, dword [ecx + 0xc]
lea edi, [eax + 1]
neg edi
sbb edi, edi
and edi, dword [ebp - 0x24]
cmp dword [ecx + 8], edx
jne 0x1012ff20
cmp eax, 0xffffffff
je 0x1012ff20
mov ecx, dword [ebx + 0x5c]
lea edx, [ecx + eax*8]
add edx, dword [ebx + 0x28]
je 0x1012ff20
mov eax, dword [edx]
sub eax, 0
je 0x1012fefd
sub eax, 1
je 0x1012feda
sub eax, 1
je 0x1012fece
sub eax, 1
je 0x1012fec2
sub eax, 1
je 0x1012feb6
sub eax, 1
je 0x1012feaa
sub eax, 1
jne 0x1012ff16
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + esi + 0xe8]
jmp 0x1012fee4
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + esi + 0xe4]
jmp 0x1012fee4
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + esi + 0xe0]
jmp 0x1012fee4
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + esi + 0xf8]
jmp 0x1012fee4
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + esi + 0xec]
jmp 0x1012fee4
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + esi + 0xf0]
cmp eax, 0xffffffff
jne 0x1012feed
xor eax, eax
jmp 0x1012fef5
imul eax, eax, 0x1c
add eax, dword [ebx + 0x10]
add eax, ecx
neg eax
sbb eax, eax
and edi, eax
jmp 0x1012ff18
mov eax, dword [ebx + 0x60]
mov eax, dword [eax + esi + 0xf4]
cmp eax, 0xffffffff
je 0x1012ff16
imul eax, eax, 0x1c
add eax, dword [ebx + 0x10]
add eax, ecx
jne 0x1012ff18
xor edi, edi
mov eax, dword [edx + 4]
jmp 0x1012fe61
mov esi, dword [ebp - 4]
lea edx, [ebp - 0x10]
push 0
mov ecx, esi
mov dword [ebp - 0xc], 1
call fcn.10128398
test eax, eax
je 0x10130009
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 0xc8]
test eax, eax
je 0x1012ff55
mov esi, dword [ecx + 0x13c]
add esi, eax
jmp 0x1012ff57
xor esi, esi
test esi, esi
je 0x10130006
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
movzx eax, byte [ecx + eax*2]
mov ecx, dword [esi + 0x34]
mov esi, dword [esi + 0x38]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
add eax, esi
mov dword [ebp - 0x24], ecx
neg esi
sbb esi, esi
and dword [ebp - 0x20], 0
and esi, eax
test ecx, ecx
je 0x1012ffec
lea eax, [esi + 0x3c]
mov dword [ebp - 0x18], eax
mov ecx, dword [eax - 4]
test ecx, ecx
je 0x10130229
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x10130229
mov eax, dword [ebx + 0x6c]
cmp eax, ecx
jl 0x10130229
cdq
idiv ecx
mov eax, dword [ebx + 0x70]
mov ecx, edx
neg ecx
sbb ecx, ecx
not ecx
and ecx, edi
mov edi, dword [ebp - 0x28]
cmp eax, edi
jl 0x10130229
cdq
idiv edi
mov eax, dword [ebp - 0x18]
neg edx
sbb edi, edi
mov edx, dword [ebp - 0x20]
not edi
add eax, 0x4c
and edi, ecx
mov dword [ebp - 0x18], eax
inc edx
mov dword [ebp - 0x20], edx
cmp edx, dword [ebp - 0x24]
jb 0x1012ff8e
imul ecx, dword [ebp - 0x10], 0x4c
mov eax, dword [ebx + 0x6c]
cdq
idiv dword [ecx + esi + 0x38]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x70]
cdq
idiv dword [ecx + esi + 0x3c]
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0xcc]
test edx, edx
je 0x10130020
mov ecx, dword [eax + 0x13c]
add ecx, edx
jmp 0x10130022
xor ecx, ecx
test ecx, ecx
je 0x101301b1
mov edx, dword [ecx + 0x34]
mov ecx, dword [ecx + 0x38]
mov dword [ebp - 0x3c], edx
lea eax, [ecx + esi]
neg ecx
sbb ecx, ecx
and dword [ebp - 0x28], 0
and ecx, eax
test edx, edx
je 0x101301b1
lea esi, [ecx + 0x2c]
mov dword [ebp - 0x24], 0x64
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xec]
test ecx, ecx
je 0x10130069
mov eax, dword [eax + 0x13c]
add eax, ecx
jmp 0x1013006b
xor eax, eax
test eax, eax
je 0x10130079
cmp dword [esi + 0x2c], 0
je 0x101301b1
mov ecx, dword [esi]
mov eax, dword [ebp - 4]
add eax, ecx
neg ecx
sbb ecx, ecx
and ecx, eax
cmp dword [esi + 0x24], 0x100
je 0x10130187
cmp dword [ecx + 0x3c], 0
je 0x101300a1
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
jmp 0x101300a7
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], edx
test edx, edx
jle 0x101301af
test eax, eax
jle 0x101301af
mov edx, dword [ecx]
mov dword [ebp - 0x30], edx
test edx, edx
jle 0x101301af
mov eax, dword [ecx + 4]
mov dword [ebp - 0x38], eax
test eax, eax
jle 0x101301af
mov eax, dword [ecx + 8]
test eax, eax
js 0x101301af
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x34], eax
test eax, eax
js 0x101301af
mov eax, edx
xor edx, edx
div dword [ebp - 0xc]
test edx, edx
jne 0x101301b1
mov eax, dword [ecx + 4]
div dword [ebp - 0x18]
test edx, edx
jne 0x101301b1
mov eax, dword [ecx + 8]
div dword [ebp - 0xc]
test edx, edx
jne 0x101301b1
mov eax, dword [ecx + 0xc]
div dword [ebp - 0x18]
test edx, edx
jne 0x101301b1
cmp dword [ebx + 0x98], edx
je 0x1013015a
mov eax, dword [ecx + 8]
div dword [ebp - 0x14]
test edx, edx
jne 0x101301b1
mov eax, dword [ecx + 0xc]
div dword [ebp - 0x1c]
test edx, edx
jne 0x101301b1
mov eax, dword [ecx + 0x10]
div dword [ebp - 0x14]
test edx, edx
jne 0x101301b1
mov eax, dword [ecx + 0x14]
div dword [ebp - 0x1c]
test edx, edx
jne 0x101301b1
mov eax, dword [ebp - 0x20]
cdq
idiv dword [ebp - 0x24]
mov ecx, dword [ecx + 8]
add eax, dword [ebp - 0x20]
add ecx, dword [ebp - 0x30]
cmp eax, ecx
jl 0x101301af
mov eax, dword [ebp - 0x10]
cdq
idiv dword [ebp - 0x24]
mov ecx, dword [ebp - 0x34]
add eax, dword [ebp - 0x10]
add ecx, dword [ebp - 0x38]
cmp eax, ecx
jl 0x101301af
mov edx, dword [ebp - 0x3c]
jmp 0x1013019c
xor eax, eax
cmp dword [ecx + 0x20], eax
jle 0x10130193
cmp dword [ecx + 0x24], eax
jg 0x10130195
mov edi, eax
cmp dword [ecx + 0x30], eax
jg 0x1013019c
mov edi, eax
mov eax, dword [ebp - 0x28]
add esi, 0x5c
inc eax
mov dword [ebp - 0x28], eax
cmp eax, edx
jae 0x101301b1
jmp 0x10130052
xor edi, edi
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0x28]
mov ecx, dword [ecx + 0x20]
add ecx, 8
mov eax, dword [eax + 0x34]
mov ebx, dword [eax + 0xc0]
test ebx, ebx
je 0x10130225
add ecx, edx
mov eax, dword [ecx + 0x48]
neg eax
sbb eax, eax
and edi, eax
cmp dword [ecx], 0
je 0x101301ea
mov eax, edi
mov edi, dword [ecx - 4]
neg edi
sbb edi, edi
not edi
and edi, eax
mov edx, dword [ecx + 0x30]
mov esi, dword [ecx + 0x2c]
add edx, 8
test esi, esi
je 0x1013021d
add edx, dword [ebp - 4]
mov eax, dword [edx + 0x28]
neg eax
sbb eax, eax
and edi, eax
cmp dword [edx], 0
je 0x10130215
mov eax, edi
mov edi, dword [edx - 4]
neg edi
sbb edi, edi
not edi
and edi, eax
add edx, dword [ecx + 0x28]
sub esi, 1
jne 0x101301fa
add ecx, 0x54
sub ebx, 1
jne 0x101301cf
mov eax, edi
jmp 0x1013022b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret