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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1017fc6b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x101ebb68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 0
mov ebx, 1
lea ecx, [ecx]
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
jae 0x10156d5d
mov cl, byte [eax]
cmp cl, 0x80
jae 0x10156d5d
movzx ecx, cl
inc eax
mov dword [edi + 4], eax
mov dword [edi + 0x14], ecx
mov eax, ecx
jmp 0x10156d67
mov ecx, edi
call fcn.10147bb0
mov dword [edi + 0x14], eax
test eax, eax
je 0x101571e2
mov ecx, eax
shr ecx, 3
dec ecx
cmp ecx, 8
ja case.default.0x10156d7e
jmp dword [ecx*4 + 0x1015722c]
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x10156d7e
mov esi, dword [ebp - 0x14]
mov ecx, esi
call fcn.1014b5d0
push eax
push edi
call fcn.10141f40
add esp, 8
test al, al
je 0x10157225
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
jae 0x10156d40
cmp byte [eax], 0x12
jne 0x10156d40
inc eax
mov dword [edi + 4], eax
jmp 0x10156dd3
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0x10156d7e
mov esi, dword [ebp - 0x14]
or dword [esi + 0xbc], 2
cmp dword [esi + 0xc], 0x101eb21c
jne 0x10156e09
push 0x1c
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x10156e04
mov dword [eax + 0x14], 0xf
mov dword [eax + 0x10], 0
mov byte [eax], 0
jmp 0x10156e06
xor eax, eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0xc]
push eax
push edi
call fcn.10141f40
add esp, 8
test al, al
je 0x10157225
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
jae 0x10156d40
cmp byte [eax], 0x1a
jne 0x10156d40
inc eax
mov dword [edi + 4], eax
jmp 0x10156e47
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x10156d7e
mov esi, dword [ebp - 0x14]
lea ebx, [ebx]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
cmp eax, ecx
jge 0x10156e68
mov edx, dword [esi + 0x10]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [esi + 0x14], eax
mov eax, ecx
jmp 0x10156e8d
mov eax, dword [esi + 0x1c]
cmp ecx, eax
jne 0x10156e79
inc eax
push eax
lea ecx, [esi + 0x10]
call fcn.10125e20
add dword [esi + 0x18], ebx
call fcn.10125e90
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov dword [edx + ecx*4], eax
add dword [esi + 0x14], ebx
push eax
push edi
call fcn.10141f40
add esp, 8
test al, al
je 0x10157225
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
jae 0x10156d40
cmp byte [eax], 0x1a
jne 0x10156eb6
inc eax
mov dword [edi + 4], eax
jmp 0x10156e50
cmp eax, dword [edi + 8]
jae 0x10156d40
cmp byte [eax], 0x22
jne 0x10156d40
inc eax
mov dword [edi + 4], eax
jmp 0x10156edc
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x10156d7e
mov esi, dword [ebp - 0x14]
nop
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x38]
cmp eax, ecx
jge 0x10156ef8
mov edx, dword [esi + 0x30]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [esi + 0x34], eax
mov eax, ecx
jmp 0x10156f45
mov eax, dword [esi + 0x3c]
cmp ecx, eax
jne 0x10156f09
inc eax
push eax
lea ecx, [esi + 0x30]
call fcn.10125e20
add dword [esi + 0x38], ebx
push 0xb8
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x10156f30
mov ecx, eax
call fcn.1014bb30
jmp 0x10156f32
xor eax, eax
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
mov dword [edx + ecx*4], eax
add dword [esi + 0x34], ebx
mov dword [ebp - 4], 0xffffffff
push eax
push edi
call fcn.10156c80
add esp, 8
test al, al
je 0x10157225
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
jae 0x10156d40
cmp byte [eax], 0x22
jne 0x10156f71
inc eax
mov dword [edi + 4], eax
jmp 0x10156ee0
cmp eax, dword [edi + 8]
jae 0x10156d40
cmp byte [eax], 0x2a
jne 0x10156d40
inc eax
mov dword [edi + 4], eax
jmp 0x10156f97
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x10156d7e
mov esi, dword [ebp - 0x14]
lea ebx, [ebx]
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x58]
cmp eax, ecx
jge 0x10156fb8
mov edx, dword [esi + 0x50]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [esi + 0x54], eax
mov eax, ecx
jmp 0x10156fdd
mov eax, dword [esi + 0x5c]
cmp ecx, eax
jne 0x10156fc9
inc eax
push eax
lea ecx, [esi + 0x50]
call fcn.10125e20
add dword [esi + 0x58], ebx
call fcn.10126a70
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x50]
mov dword [edx + ecx*4], eax
add dword [esi + 0x54], ebx
push eax
push edi
call fcn.101563c0
add esp, 8
test al, al
je 0x10157225
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
jae 0x10156d40
cmp byte [eax], 0x2a
jne 0x10157006
inc eax
mov dword [edi + 4], eax
jmp 0x10156fa0
cmp eax, dword [edi + 8]
jae 0x10156d40
cmp byte [eax], 0x32
jne 0x10156d40
inc eax
mov dword [edi + 4], eax
jmp 0x1015702c
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x10156d7e
mov esi, dword [ebp - 0x14]
nop
mov eax, dword [esi + 0x74]
mov ecx, dword [esi + 0x78]
cmp eax, ecx
jge 0x10157048
mov edx, dword [esi + 0x70]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [esi + 0x74], eax
mov eax, ecx
jmp 0x1015706d
mov eax, dword [esi + 0x7c]
cmp ecx, eax
jne 0x10157059
inc eax
push eax
lea ecx, [esi + 0x70]
call fcn.10125e20
add dword [esi + 0x78], ebx
call fcn.10126ae0
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x70]
mov dword [edx + ecx*4], eax
add dword [esi + 0x74], ebx
push eax
push edi
call fcn.10156440
add esp, 8
test al, al
je 0x10157225
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
jae 0x10156d40
cmp byte [eax], 0x32
jne 0x10157096
inc eax
mov dword [edi + 4], eax
jmp 0x10157030
cmp eax, dword [edi + 8]
jae 0x10156d40
cmp byte [eax], 0x3a
jne 0x10156d40
inc eax
mov dword [edi + 4], eax
jmp 0x101570bc
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x10156d7e
mov esi, dword [ebp - 0x14]
nop
mov eax, dword [esi + 0x94]
mov ecx, dword [esi + 0x98]
cmp eax, ecx
jge 0x101570e4
mov edx, dword [esi + 0x90]
mov ecx, dword [edx + eax*4]
inc eax
mov dword [esi + 0x94], eax
mov eax, ecx
jmp 0x1015711b
mov eax, dword [esi + 0x9c]
cmp ecx, eax
jne 0x101570fb
inc eax
push eax
lea ecx, [esi + 0x90]
call fcn.10125e20
add dword [esi + 0x98], ebx
call fcn.10126b50
mov ecx, dword [esi + 0x94]
mov edx, dword [esi + 0x90]
mov dword [edx + ecx*4], eax
add dword [esi + 0x94], ebx
push eax
push edi
call fcn.10155720
add esp, 8
test al, al
je 0x10157225
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
jae 0x10156d40
cmp byte [eax], 0x3a
jne 0x10157147
inc eax
mov dword [edi + 4], eax
jmp 0x101570c0
cmp eax, dword [edi + 8]
jae 0x10156d40
cmp byte [eax], 0x42
jne 0x10156d40
inc eax
mov dword [edi + 4], eax
jmp 0x1015716d
mov ecx, eax
and cl, 7
cmp cl, 2
jne case.default.0x10156d7e
mov ecx, dword [ebp - 0x14]
call fcn.10125f10
push eax
push edi
call fcn.10153840
add esp, 8
test al, al
je 0x10157225
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
jae 0x10156d40
cmp byte [eax], 0x4a
jne 0x10156d40
inc eax
mov dword [edi + 4], eax
jmp 0x101571ac
mov edx, eax
and dl, 7
cmp dl, 2
jne case.default.0x10156d7e
mov ecx, dword [ebp - 0x14]
call fcn.1014e5d0
push eax
push edi
call fcn.10151850
add esp, 8
test al, al
je 0x10157225
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
jne 0x10156d40
cmp dword [edi + 0x20], 0
je 0x10156d40
mov dword [edi + 0x14], 0
mov byte [edi + 0x18], bl
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10178946
mov esp, ebp
pop ebp
ret 4
mov ecx, eax
and cl, 7
cmp cl, 4
je 0x101571e2
mov edx, dword [ebp - 0x14]
add edx, 4
push edx
push eax
push edi
call fcn.10142800
add esp, 0xc
test al, al
jne 0x10156d40
xor al, al
jmp 0x101571e4