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

Disassembly:
sub esp, 0x298
mov ecx, dword [esp + 0x29c]
mov eax, dword [ecx + 4]
push ebx
push ebp
mov ebp, dword [ecx]
test byte [ebp + 0x22], 0x80
push esi
push edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x50], eax
je 0x101135a5
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x298
ret
mov esi, dword [eax + 0x14]
mov eax, dword [eax + 0xc]
mov edi, dword [ecx + 0xc]
lea ebx, [eax + eax*2]
push 0x38
shl ebx, 4
lea eax, [esp + 0x6c]
push 0
add ebx, esi
push eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x28], edi
call fcn.1012e060
movzx eax, byte [edi + 0x10]
mov edx, dword [ebp + 4]
lea ecx, [eax + eax*8]
lea eax, [edx + ecx*8 + 8]
mov ecx, dword [eax + 0x10]
add esp, 0xc
test byte [ecx + 0x2c], 0x20
mov dword [esp + 0x54], eax
jne 0x10113598
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x20], esi
cmp esi, ebx
jae 0x101139e3
cmp dword [esp + 0x14], 0
jne 0x101139e3
mov eax, 0x100
test word [esi + 0x12], ax
je 0x101139ce
mov eax, dword [esi + 0xc]
mov ecx, dword [eax + 0x198]
mov edx, dword [eax + 0x19c]
and ecx, dword [edi + 8]
and edx, dword [edi + 0xc]
or ecx, edx
je 0x101139ce
mov ecx, dword [eax + 0xc]
lea ebx, [ecx + ecx*2]
mov ecx, dword [esp + 0x2ac]
mov edx, dword [ecx]
shl ebx, 4
add ebx, dword [eax + 0x14]
mov dword [esp + 0x38], edx
mov edx, dword [ecx + 4]
mov dword [esp + 0x3c], edx
mov edx, dword [ecx + 8]
mov dword [esp + 0x40], edx
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
lea edx, [esp + 0xa0]
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], edx
mov ebp, dword [eax + 0x14]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x24], 1
mov dword [esp + 0x30], ebp
cmp ebp, ebx
jae 0x1011394f
mov eax, 0x200
test word [ebp + 0x12], ax
je 0x101136ab
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x3c], ecx
jmp 0x101136f1
mov edx, dword [esp + 0x4c]
cmp dword [ebp + 8], edx
jne 0x10113937
mov eax, dword [esp + 0x50]
mov ecx, dword [eax]
lea edx, [esp + 0x110]
mov dword [esp + 0x110], ecx
mov dword [esp + 0x114], eax
mov byte [esp + 0x118], 0x46
mov dword [esp + 0x11c], 1
mov dword [esp + 0x124], ebp
mov dword [esp + 0x3c], edx
mov ecx, dword [esp + 0x54]
xor eax, eax
mov word [esp + 0xa0], ax
mov edx, dword [ecx + 0x10]
mov eax, dword [esp + 0x2b4]
mov ecx, dword [esp + 0x2b0]
test byte [edx + 0x2c], 0x10
push eax
push ecx
lea edx, [esp + 0x40]
push edx
je 0x10113724
call fcn.101130d0
jmp 0x10113729
call fcn.10112c70
mov si, word [esp + 0xac]
add esp, 0xc
mov dword [esp + 0x14], eax
test si, si
je 0x10113948
cmp dword [esp + 0x24], 0
je 0x10113776
movzx eax, si
shl eax, 4
push eax
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0x78]
push edx
mov word [esp + 0x74], si
call fcn.10130710
add esp, 0xc
mov dword [esp + 0x24], 0
jmp 0x10113937
mov ax, word [esp + 0x68]
mov word [esp + 0xd8], ax
movzx eax, ax
shl eax, 4
push eax
lea ecx, [esp + 0x74]
push ecx
lea edx, [esp + 0xe8]
push edx
call fcn.10130710
movzx ecx, word [esp + 0xe4]
xor eax, eax
add esp, 0xc
mov word [esp + 0x68], ax
test ecx, ecx
jle 0x10113937
lea edx, [esp + 0xe8]
movzx eax, si
mov dword [esp + 0x34], edx
mov dword [esp + 0x28], ecx
jmp 0x101137d0
mov dword [esp + 0x2c], 0
test eax, eax
jle 0x10113925
movzx edi, word [edx]
mov ecx, dword [edx - 8]
movzx ebx, word [edx + 2]
mov edx, dword [edx - 4]
mov dword [esp + 0x18], edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
lea ebp, [esp + 0xb0]
movzx ecx, word [ebp + 2]
cmp bx, cx
jl 0x1011383c
movsx ecx, cx
movsx eax, bx
lea edx, [ecx + 0x31]
cmp eax, edx
jle 0x1011381b
movzx esi, bx
jmp 0x1011386b
lea edx, [ecx + 0x1f]
cmp eax, edx
jle 0x1011382a
lea eax, [ebx + 1]
movzx esi, ax
jmp 0x1011386b
sub eax, ecx
movzx cx, byte [eax + str._n_n_t_t_b_b_a_a_a]
add cx, bx
movzx esi, cx
jmp 0x1011386b
movsx edx, bx
movsx eax, cx
lea esi, [edx + 0x31]
cmp eax, esi
jle 0x1011384e
movzx esi, cx
jmp 0x1011386b
lea esi, [edx + 0x1f]
cmp eax, esi
jle 0x1011385b
inc ecx
movzx esi, cx
jmp 0x1011386b
sub eax, edx
movzx dx, byte [eax + str._n_n_t_t_b_b_a_a_a]
add dx, cx
movzx esi, dx
movzx ecx, word [ebp]
cmp di, cx
jl 0x101138a7
movsx ecx, cx
movsx eax, di
lea edx, [ecx + 0x31]
cmp eax, edx
jle 0x10113886
movzx eax, di
jmp 0x101138da
lea edx, [ecx + 0x1f]
cmp eax, edx
jle 0x10113895
lea eax, [edi + 1]
movzx eax, ax
jmp 0x101138da
sub eax, ecx
movzx cx, byte [eax + str._n_n_t_t_b_b_a_a_a]
add cx, di
movzx eax, cx
jmp 0x101138da
movsx edx, di
movsx eax, cx
lea edi, [edx + 0x31]
cmp eax, edi
jle 0x101138b9
movzx eax, cx
jmp 0x101138d6
lea edi, [edx + 0x1f]
cmp eax, edi
jle 0x101138c6
inc ecx
movzx eax, cx
jmp 0x101138d6
sub eax, edx
movzx dx, byte [eax + str._n_n_t_t_b_b_a_a_a]
add dx, cx
movzx eax, dx
mov edi, dword [esp + 0x18]
mov ecx, dword [ebp - 4]
or ecx, dword [esp + 0x5c]
push esi
push eax
mov eax, dword [ebp - 8]
or eax, dword [esp + 0x60]
push ecx
push eax
lea edx, [esp + 0x78]
push edx
call fcn.1010d690
mov ecx, dword [esp + 0x40]
movzx eax, word [esp + 0xb4]
inc ecx
add esp, 0x14
add ebp, 0x10
cmp ecx, eax
mov dword [esp + 0x2c], ecx
jl 0x10113800
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
add edx, 0x10
sub dword [esp + 0x28], 1
mov dword [esp + 0x34], edx
jne 0x101137d0
add ebp, 0x30
mov dword [esp + 0x30], ebp
cmp ebp, ebx
jb 0x10113697
jmp 0x1011394f
xor eax, eax
mov word [esp + 0x68], ax
mov edx, dword [edi + 0x2c]
mov eax, dword [esp + 0x20]
mov ecx, 1
mov word [edi + 0x28], cx
mov dword [edx], eax
xor ecx, ecx
xor eax, eax
mov dword [edi + 0x24], 0x2000
mov word [edi + 0x12], cx
mov byte [edi + 0x11], cl
mov dword [edi + 0x18], eax
xor ebp, ebp
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
cmp dword [esp + 0x14], ecx
jne 0x101139ce
movzx ebx, word [esp + 0x68]
lea esi, [esp + 0x7a]
lea ecx, [ecx]
cmp ebp, ebx
jge 0x101139ce
mov dx, word [esi - 2]
mov ax, word [esi]
mov ecx, dword [esi - 0xa]
add dx, 0x12
mov word [edi + 0x14], dx
mov edx, dword [esi - 6]
mov word [edi + 0x16], ax
mov eax, dword [esp + 0x2ac]
mov dword [edi], ecx
mov dword [edi + 4], edx
call fcn.101123c0
mov edi, dword [esp + 0x1c]
inc ebp
add esi, 0x10
mov dword [esp + 0x14], eax
test eax, eax
je 0x10113990
mov esi, dword [esp + 0x20]
add esi, 0x30
mov dword [esp + 0x20], esi
cmp esi, dword [esp + 0x60]
jb 0x101135fd
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x298
ret