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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x2c], edx
xorps xmm0, xmm0
mov dword [esp + 0xc], esi
push edi
movlpd qword [esp + 0x58], xmm0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x2c], 0
call fcn.100d8ee0
test eax, eax
jne 0x100fb98c
push eax
push 0x288
call fcn.10027b10
mov ebx, eax
add esp, 8
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x100fb98c
lea eax, [ebx + 0x238]
mov ecx, esi
mov dword [esp + 0x4c], eax
lea edx, [esp + 0x64]
add eax, 0x10
mov dword [esp + 0x24], eax
call fcn.100fa8a0
mov edi, eax
test edi, edi
jne 0x100fb8c1
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x28], eax
nop word [eax + eax]
cmp dword [esp + 0x30], 0
jle 0x100fb8a9
mov eax, dword [esi + 0x104]
mov ecx, esi
shl eax, 0xa
cdq
mov dword [esp + 0x38], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x44], edx
mov edx, 0x1c
push 0
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x3c], 0
call fcn.100ee4e0
mov eax, dword [ebp + 8]
mov ecx, 2
mov esi, dword [esp + 0x28]
cmp eax, 2
cmovl eax, ecx
cdq
push edx
push eax
push 1
push esi
call fcn.10057670
add esp, 0x18
xor ebx, ebx
test esi, esi
jne 0x100fae1f
push str.API_called_with_NULL_prepared_statement
push 0x15
call fcn.1002a9f0
add esp, 8
jmp 0x100fae3f
cmp dword [esi], ebx
jne 0x100fae39
push str.API_called_with_finalized_prepared_statement
push 0x15
call fcn.1002a9f0
add esp, 8
mov eax, 1
jmp 0x100fae3b
xor eax, eax
test eax, eax
je 0x100fae73
push 0x10167d54
push 0x160fd
push str.misuse
push str._s_at_line__d_of___.10s_
push 0x15
call fcn.1002a9f0
add esp, 0x14
or eax, 0xffffffff
mov dword [esp + 0x20], eax
test esi, esi
jne 0x100fb0c9
xor edi, edi
jmp 0x100fb17a
mov eax, dword [esi]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100fae8a
push eax
call dword [0x10178a88]
add esp, 4
mov ecx, esi
call fcn.10055c90
mov edi, eax
cmp edi, 0x11
jne 0x100faed8
mov ecx, ebx
inc ebx
cmp ecx, 0x32
jge 0x100faed8
mov edi, dword [esi + 0x20]
mov ecx, esi
call fcn.1009fff0
mov dword [esp + 0x40], eax
test eax, eax
jne 0x100faf5e
push esi
call fcn.10054fa0
add esp, 4
test edi, edi
js 0x100faeca
mov byte [esi + 0x95], 0xfe
mov ecx, esi
call fcn.10055c90
mov edi, eax
cmp edi, 0x11
je 0x100fae98
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100faeed
push eax
call dword [0x10178a90]
add esp, 4
cmp edi, 0x64
jne 0x100fae5d
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100faf09
push eax
call dword [0x10178a88]
add esp, 4
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x100faf1b
xor eax, eax
cmp ax, word [esi + 0x90]
jb 0x100faf33
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002b6b0
mov ecx, 0x10162818
call fcn.1004e6e0
mov ecx, dword [esi]
mov dword [esp + 0x18], edx
mov edx, dword [esi + 0x24]
mov dword [esp + 0x14], eax
cmp byte [ecx + 0x57], 0
jne 0x100fb029
test edx, edx
jne 0x100fb029
xor eax, eax
jmp 0x100fb02e
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x124]
test ecx, ecx
jne 0x100faf70
xor edi, edi
jmp 0x100fafa3
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x100faf8d
cmp byte [ecx + 0x12], 1
jne 0x100faf8d
mov edi, dword [ecx + 8]
jmp 0x100faf9f
test dl, 1
je 0x100faf96
xor edi, edi
jmp 0x100faf9f
mov dl, 1
call fcn.1004f390
mov edi, eax
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0x7c]
test edx, edx
je 0x100fafb1
mov ecx, eax
call fcn.10027de0
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x57], 0
jne 0x100fb015
test edi, edi
jne 0x100fafc3
xor ebx, ebx
jmp 0x100faffb
mov ecx, edi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100fafc8
sub ecx, edx
push 0
lea eax, [ecx + 1]
mov ecx, dword [esp + 0x24]
push eax
mov dword [esp + 0x50], eax
call fcn.10028280
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x100faffb
push dword [esp + 0x48]
push edi
push ebx
call fcn.1013c1a0
add esp, 0xc
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x7c], ebx
call fcn.10028630
mov edi, eax
mov dword [esi + 0x24], edi
jmp 0x100faed8
mov edi, 7
mov dword [esi + 0x7c], 0
mov dword [esi + 0x24], edi
jmp 0x100faedc
call fcn.10028630
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100fb044
push eax
call dword [0x10178a90]
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100fb057
push eax
call dword [0x10178a88]
add esp, 4
mov eax, dword [esi + 0x78]
test eax, eax
je 0x100fb071
mov ecx, 1
cmp cx, word [esi + 0x90]
jae 0x100fb071
lea ecx, [eax + 0x28]
jmp 0x100fb089
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002b6b0
mov ecx, 0x10162818
call fcn.1004e6e0
mov ecx, dword [esi]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x20], eax
cmp byte [ecx + 0x57], 0
jne 0x100fb0a5
test edx, edx
jne 0x100fb0a5
xor eax, eax
jmp 0x100fb0aa
call fcn.10028630
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100fae64
push eax
call dword [0x10178a90]
add esp, 4
jmp 0x100fae64
mov ebx, dword [esi]
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x100fb0dc
push eax
call dword [0x10178a88]
add esp, 4
cmp dword [esi + 0x8c], 0
jl 0x100fb0f9
jg 0x100fb0f0
cmp dword [esi + 0x88], 0
jbe 0x100fb0f9
mov edx, esi
mov ecx, ebx
call fcn.10054e00
mov ecx, esi
call fcn.10052a30
mov byte [esi + 0x97], 1
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x24], 0
mov word [esi + 0x94], 0xff02
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x1c], 1
mov dword [esi + 0x30], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
cmp byte [ebx + 0x57], 0
jne 0x100fb156
test eax, eax
jne 0x100fb156
xor edi, edi
jmp 0x100fb161
mov edx, eax
mov ecx, ebx
call fcn.10028630
mov edi, eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x100fb172
push eax
call dword [0x10178a90]
add esp, 4
test edi, edi
jne 0x100fb292
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x100fb292
mov edi, dword [esp + 0x64]
mov eax, ebx
xor ebx, ebx
mov dword [esp + 0x48], eax
lea esi, [eax - 1]
mov dword [esp + 0x40], ebx
xorps xmm0, xmm0
movlpd qword [esp + 0x58], xmm0
cmp byte [esi + edi], bl
jge 0x100fb1b1
mov edi, 0x10b
jmp 0x100fb234
test esi, esi
jle 0x100fb1ca
lea eax, [edi - 1]
add eax, esi
nop word [eax + eax]
cmp byte [eax], bl
jge 0x100fb1d3
dec esi
dec eax
test esi, esi
jg 0x100fb1c0
jne 0x100fb1d3
mov edi, 0x10b
jmp 0x100fb234
dec esi
test esi, esi
jle 0x100fb1ea
lea eax, [edi - 1]
add eax, esi
nop dword [eax]
cmp byte [eax], bl
jge 0x100fb1ea
dec esi
dec eax
test esi, esi
jg 0x100fb1e0
mov eax, esi
lea ecx, [esi + edi]
lea edx, [esp + 0x58]
mov dword [esp + 0x28], eax
mov dword [esp + 0x68], eax
call fcn.100de590
add esi, eax
mov al, byte [esi + edi]
lea ecx, [esi + edi]
test al, al
jns 0x100fb21b
lea edx, [esp + 0x40]
call fcn.100de740
mov ebx, dword [esp + 0x40]
jmp 0x100fb223
movzx ebx, al
mov eax, 1
lea edi, [eax + esi]
sub edi, dword [esp + 0x48]
neg edi
sbb edi, edi
and edi, 0x10b
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
test esi, esi
js 0x100fb429
push dword [esp + 0x44]
push dword [esp + 0x3c]
push eax
push ecx
call fcn.1014b460
push dword [esp + 0x44]
mov dword [esp + 0x44], eax
mov esi, edx
push dword [esp + 0x3c]
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.1014b460
cmp edx, esi
jg 0x100fb41d
jl 0x100fb286
cmp eax, dword [esp + 0x40]
jae 0x100fb41d
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x68], ebx
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x44], eax
test esi, esi
jle 0x100fb8a1
test edx, edx
jl 0x100fb89c
jg 0x100fb2c0
test ecx, ecx
jb 0x100fb89c
cmp edx, dword [esp + 0x38]
jg 0x100fb89c
jl 0x100fb2d4
test ecx, ecx
jne 0x100fb89c
mov ebx, dword [esp + 0x1c]
push 0x288
push 0
push ebx
call fcn.1013ad10
add esp, 0xc
mov dword [ebx + 0x244], 1
test edi, edi
jne 0x100fb870
push dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x38]
push dword [esp + 0x18]
call fcn.100f7bf0
mov ebx, dword [esp + 0x3c]
add esp, 8
mov edi, eax
test ebx, ebx
je 0x100fb330
cmp dword [esp + 0x3c], 0
je 0x100fb4a1
cmp ebx, 1
jne 0x100fb4a1
mov ebx, dword [esp + 0x14]
mov edx, 0xf
mov eax, dword [esp + 0x18]
add ebx, 1
mov esi, dword [esp + 0x10]
mov ecx, esi
adc eax, 0
mov dword [esp + 0x48], eax
lea eax, [esp + 0x50]
push 0
push eax
call fcn.100ee4e0
mov edi, eax
add esp, 8
test edi, edi
jne 0x100fb87a
mov edi, dword [esp + 0x48]
mov ecx, ebx
mov esi, dword [esp + 0x50]
add ecx, 1
mov eax, edi
adc eax, 0
push eax
push ecx
push 1
push esi
call fcn.10057670
shrd ebx, edi, 0xa
shr edi, 0xa
add ebx, 1
adc edi, 0
shld edi, ebx, 0xa
push edi
shl ebx, 0xa
push ebx
push 2
push esi
call fcn.10057670
push esi
xor ebx, ebx
call fcn.10055f30
add esp, 0x24
cmp eax, 0x64
jne 0x100fb482
test esi, esi
je 0x100fb3f0
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100fb3cb
push eax
call dword [0x10178a88]
add esp, 4
mov eax, dword [esi + 0x78]
test eax, eax
je 0x100fb3dd
xor ecx, ecx
cmp cx, word [esi + 0x90]
jb 0x100fb3f5
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.1002b6b0
mov eax, 0x10162818
movzx eax, word [eax + 0x10]
and eax, 0x3f
mov bl, byte [eax + 0x101665a8]
mov byte [esp + 0xf], bl
test esi, esi
je 0x100fb478
mov ecx, dword [esi]
mov edx, dword [esi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x100fb45d
test edx, edx
jne 0x100fb45d
xor eax, eax
jmp 0x100fb462
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x5c]
cmp dword [ebp + 8], esi
mov edx, eax
mov dword [esp + 0x14], ecx
cmovg esi, dword [ebp + 8]
mov eax, esi
mov dword [esp + 0x18], edx
cmp eax, ebx
mov dword [esp + 0x3c], 1
mov esi, ebx
cmovl esi, eax
mov eax, 1
mov dword [esp + 0x20], esi
mov dword [esp + 0x2c], eax
jmp 0x100fb2a2
call fcn.10028630
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x100fb478
push eax
call dword [0x10178a90]
add esp, 4
xor ebx, ebx
cmp byte [esp + 0xf], 5
sete bl
push esi
call fcn.10054fa0
mov esi, dword [esp + 0x24]
add esp, 4
test ebx, ebx
mov edi, eax
mov ebx, dword [esp + 0x34]
je 0x100fb4a1
mov ecx, dword [esp + 0x4c]
or dword [ecx + 0xc], 2
test eax, eax
jne 0x100fb876
push dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call fcn.100f5700
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x100fb876
mov eax, dword [esp + 0x4c]
cmp dword [eax + 0x14], esi
jne 0x100fb876
mov esi, dword [esp + 0x24]
mov edx, esi
mov dword [esi + 0xc], eax
push dword [eax + 4]
mov esi, dword [esp + 0x14]
mov ecx, esi
push dword [eax]
call fcn.100f2690
mov edi, eax
add esp, 8
test edi, edi
jne 0x100fb87a
mov edx, dword [esp + 0x24]
mov ecx, esi
call fcn.100f2730
mov edi, eax
test edi, edi
je 0x100fb51a
cmp edi, 0x64
jne 0x100fb891
cmp dword [esp + 0x3c], 0
je 0x100fb54a
test ebx, ebx
jle 0x100fb54a
mov eax, dword [esp + 0x24]
lea edx, [ebx - 1]
push dword [esp + 0x1c]
mov ecx, esi
push dword [eax + 0x34]
push dword [eax + 0x30]
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.100f6de0
add esp, 0x14
jmp 0x100fb566
push dword [esp + 0x1c]
mov edx, ebx
mov ecx, esi
push dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.100f7f30
add esp, 0x10
mov dword [esp + 0x20], eax
test eax, eax
jne 0x100fb761
mov ecx, dword [esp + 0x1c]
cmp dword [ecx], eax
je 0x100fb761
test edi, edi
mov edi, ecx
je 0x100fb5c9
mov ebx, dword [esp + 0x24]
push ebx
mov edx, edi
mov ecx, esi
call fcn.100f6430
add esp, 4
mov dword [esp + 0x20], eax
mov ecx, eax
mov edx, eax
test eax, eax
jne 0x100fb5b2
mov edx, ebx
mov ecx, esi
call fcn.100f2730
mov dword [esp + 0x20], eax
mov ecx, eax
mov edx, eax
mov esi, dword [esp + 0x30]
cmp dword [edi + 4], esi
mov esi, dword [esp + 0x10]
jl 0x100fb5c4
cmp ecx, 0x64
je 0x100fb5d1
cmp edx, 0x64
je 0x100fb588
test eax, eax
jne 0x100fb761
mov ecx, dword [esp + 0x30]
or eax, 0xffffffff
sub eax, dword [edi + 4]
xor edi, edi
add ecx, eax
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x48], ecx
xor ecx, ecx
mov ebx, dword [eax + 4]
sub ebx, 1
js 0x100fb6e8
nop dword [eax]
test ecx, ecx
jne 0x100fb704
mov edx, dword [eax + 4]
xor esi, esi
test edx, edx
jle 0x100fb621
mov eax, dword [eax]
mov esi, dword [eax]
cmp dword [esi], ebx
je 0x100fb621
inc ecx
add eax, 4
cmp ecx, edx
jl 0x100fb613
cmp dword [esi + 0x28], 0
jne 0x100fb6ac
mov eax, dword [esi + 8]
xor ecx, ecx
or eax, dword [esi + 0xc]
je 0x100fb68c
push ecx
lea eax, [esp + 0x58]
lea edx, [ecx + 0x11]
mov ecx, dword [esp + 0x14]
push eax
call fcn.100ee4e0
mov ecx, eax
add esp, 8
test ecx, ecx
jne 0x100fb6d3
push dword [esi + 0xc]
mov edi, dword [esp + 0x58]
push dword [esi + 8]
push 1
push edi
call fcn.10057670
push dword [esi + 0x1c]
push dword [esi + 0x18]
push 2
push edi
call fcn.10057670
push edi
call fcn.10055f30
add esp, 0x24
push edi
call fcn.10054fa0
mov edi, dword [esp + 0x40]
add esp, 4
mov ecx, eax
test ecx, ecx
jne 0x100fb6d3
push dword [esp + 0x18]
mov edx, dword [esi]
push dword [esp + 0x18]
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.100f8710
add esp, 8
mov ecx, eax
jmp 0x100fb6d7
push dword [esi + 0x3c]
mov edx, dword [esi]
push dword [esi + 0x40]
mov esi, dword [esp + 0x18]
mov ecx, esi
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.100f9500
add esp, 0x10
mov ecx, eax
inc edi
mov dword [esp + 0x3c], edi
jmp 0x100fb6d7
mov esi, dword [esp + 0x10]
sub ebx, 1
mov eax, dword [esp + 0x24]
jns 0x100fb600
test ecx, ecx
jne 0x100fb704
mov ebx, dword [esp + 0x14]
cmp edi, dword [eax + 4]
je 0x100fb708
push dword [esp + 0x18]
mov ecx, esi
push ebx
call fcn.100f89c0
add esp, 8
mov ecx, eax
jmp 0x100fb708
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
test edi, edi
je 0x100fb817
mov edi, dword [esp + 0x28]
mov dword [esp + 0x2c], 1
lea esi, [edi + 0x14]
test ecx, ecx
jne 0x100fb75d
cmp esi, dword [esp + 0x6c]
jle 0x100fb792
call fcn.100d8ee0
test eax, eax
jne 0x100fb755
mov ecx, dword [esp + 0x64]
mov eax, esi
cdq
push edx
push eax
call fcn.10027f60
add esp, 8
test eax, eax
je 0x100fb755
mov dword [esp + 0x6c], esi
mov dword [esp + 0x64], eax
jmp 0x100fb796
mov dword [esp + 0x20], 7
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov edx, ebx
mov ecx, dword [ebx + 0x28]
mov eax, dword [ebx + 0x2c]
neg ecx
mov dword [ebx + 0x28], ecx
mov ecx, esi
adc eax, 0
neg eax
mov dword [ebx + 0x2c], eax
lea eax, [esp + 0x20]
push eax
call fcn.100f6680
mov edi, dword [esp + 0x24]
add esp, 4
jmp 0x100fb87e
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x18]
lea esi, [edi + eax]
mov edx, ebx
nop
mov bl, dl
mov edi, esi
shrd edx, ecx, 7
or bl, 0x80
mov byte [esi], bl
mov eax, edx
shr ecx, 7
inc esi
or eax, ecx
jne 0x100fb7a0
mov eax, dword [esp + 0x28]
and bl, 0x7f
mov edx, dword [esp + 0x64]
mov byte [edi], bl
lea ecx, [eax + edx]
sub esi, ecx
add eax, esi
mov dword [esp + 0x28], eax
lea esi, [edx + eax]
mov eax, dword [esp + 0x3c]
cdq
mov ecx, eax
nop dword [eax]
mov bl, cl
mov edi, esi
shrd ecx, edx, 7
or bl, 0x80
mov byte [esi], bl
mov eax, ecx
shr edx, 7
inc esi
or eax, edx
jne 0x100fb7e0
mov ecx, dword [esp + 0x28]
and bl, 0x7f
mov eax, dword [esp + 0x64]
add eax, ecx
mov byte [edi], bl
sub esi, eax
add ecx, esi
mov dword [esp + 0x28], ecx
mov dword [esp + 0x68], ecx
jmp 0x100fb75d
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
mov edx, ebx
mov ecx, esi
call fcn.100f6680
mov esi, dword [esp + 0x4c]
add esp, 4
cmp byte [ebx + 0x30], 0
mov edi, dword [esp + 0x44]
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], edi
jne 0x100fb86c
push dword [ebx + 0x2c]
mov ecx, dword [esp + 0x18]
push dword [ebx + 0x28]
mov eax, dword [esp + 0x20]
add ecx, 1
adc eax, 0
push eax
push ecx
mov ecx, dword [esp + 0x20]
call fcn.100f2fe0
add esp, 0x10
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
jmp 0x100fb87e
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
call fcn.100f2dd0
test edi, edi
je 0x100fada0
jmp 0x100fb8a9
mov ecx, dword [esp + 0x24]
call fcn.100f2dd0
jmp 0x100fb8a5
mov edi, 0x10b
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x2c], 0
je 0x100fb8c1
test edi, edi
jne 0x100fb8c1
lea edx, [esp + 0x64]
mov ecx, esi
call fcn.100fa570
mov edi, eax
cmp dword [0x10178a38], 0
je 0x100fb90f
mov eax, dword [0x1017bbe8]
test eax, eax
je 0x100fb8dd
push eax
call dword [0x10178a88]
add esp, 4
push ebx
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push ebx
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x100fb91e
push eax
call dword [0x10178a90]
jmp 0x100fb916
push ebx
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
mov ebx, dword [esp + 0x64]
test ebx, ebx
je 0x100fb983
cmp dword [0x10178a38], 0
je 0x100fb979
test eax, eax
je 0x100fb93d
push eax
call dword [0x10178a88]
add esp, 4
push ebx
call dword [0x10178a64]
sub dword [0x1017ba70], eax
add esp, 4
dec dword [0x1017ba94]
push ebx
call dword [0x10178a5c]
mov eax, dword [0x1017bbe8]
add esp, 4
test eax, eax
je 0x100fb983
push eax
call dword [0x10178a90]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [0x10178a5c]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 7
pop ebx
mov esp, ebp
pop ebp
ret