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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
push esi
mov esi, ecx
mov byte [esp + 0xb], 0
push edi
xor ecx, ecx
mov dword [esp + 0x10], esi
mov ebx, edx
mov dword [esp + 0x50], ecx
mov edi, dword [esi + 8]
xor edx, edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], edx
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x20], edi
mov dword [esp + 0x54], ecx
cmp dword [edi + 0x70], ecx
jg 0x10099e9c
push edx
push edx
push edx
mov edx, 0x11
mov ecx, edi
call fcn.10049750
add esp, 0xc
mov dword [esp + 0x54], eax
jmp 0x10099ebf
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x11
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], edx
mov ecx, dword [ebp + 8]
xor edx, edx
mov edi, dword [ebp + 0x14]
xorps xmm0, xmm0
mov ebx, dword [ebx + 0x14]
mov dword [esp + 0x14], edx
mov eax, dword [ecx + 0x10]
mov edi, dword [edi + 0x48]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x20]
movlpd qword [esp + 0x58], xmm0
mov eax, dword [eax + 0xc]
lea eax, [eax + eax*2]
shl eax, 4
add eax, ebx
mov dword [esp + 0x48], eax
cmp ebx, eax
jae 0x1009a07c
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x24], eax
jmp 0x10099f19
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x28]
mov esi, dword [ebx]
mov eax, dword [edx]
or eax, dword [edx + 4]
jne 0x10099f8a
test byte [ebx + 0xa], 2
jne 0x10099f8a
test byte [esi + 4], 1
jne 0x10099f8a
mov eax, 3
mov dword [esp + 0x68], fcn.1005fd70
mov word [esp + 0x78], ax
mov edx, esi
mov eax, dword [ecx + 0x2c]
lea ecx, [esp + 0x64]
mov dword [esp + 0x6c], 0x1005fc40
mov dword [esp + 0x7c], eax
call fcn.1005b0c0
cmp word [esp + 0x78], 0
je 0x10099f8a
mov edx, esi
mov esi, dword [esp + 0x10]
push 0
push 0
mov ecx, dword [esi]
call fcn.1005ec30
mov edx, dword [esp + 0x38]
mov ecx, esi
push eax
call fcn.1005e6a0
add esp, 0xc
mov dword [esp + 0x30], eax
push dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, ebx
push dword [ebp + 0xc]
call fcn.10099d60
add esp, 8
test eax, eax
je 0x1009a05d
mov edx, dword [ebx + 0x1c]
xor esi, esi
cmp edx, 0x40
jl 0x10099fb9
mov dword [esp + 0x38], SysStringLen
jmp 0x10099fd2
mov eax, edx
xor ecx, ecx
bts esi, eax
cmp eax, 0x20
cmovae ecx, esi
xor esi, ecx
cmp eax, 0x40
cmovae ecx, esi
mov dword [esp + 0x38], ecx
cmp byte [esp + 0xf], 0
jne 0x10099fff
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 4]
push dword [eax + ecx*4]
push dword [edx]
push str.automatic_index_on__s__s_
push 0x11c
call fcn.1002cbe0
add esp, 0x10
mov byte [esp + 0xf], 1
mov eax, dword [esp + 0x38]
mov ecx, esi
and ecx, dword [esp + 0x24]
and eax, dword [esp + 0x1c]
or ecx, eax
jne 0x1009a05d
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
inc eax
mov dword [esp + 0x44], eax
push eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
call fcn.1009ab70
add esp, 4
test eax, eax
jne 0x1009a818
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x14]
or dword [esp + 0x24], esi
mov edx, dword [esp + 0x44]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x14], edx
mov dword [eax + ecx*4], ebx
mov ecx, dword [esp + 0x1c]
or ecx, dword [esp + 0x38]
mov dword [esp + 0x1c], ecx
jmp 0x1009a065
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
add ebx, 0x30
cmp ebx, dword [esp + 0x48]
jb 0x10099f16
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
jmp 0x1009a084
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x58]
movzx eax, dx
not ecx
mov edx, dword [esp + 0x28]
or ecx, 0x80000000
not ebx
mov word [edx + 0x28], ax
mov word [edx + 0x18], ax
mov eax, dword [ebp + 8]
mov dword [edx + 0x24], 0x4241
and ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x38]
and ebx, edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], ebx
mov ebx, 0x3f
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], edx
movzx ecx, word [eax + 0x2a]
mov dword [esp + 0x44], ecx
movzx eax, cx
cmp bx, cx
jge 0x1009a0da
mov dword [esp + 0x38], ebx
jmp 0x1009a0e8
movsx ebx, cx
mov dword [esp + 0x38], ebx
xor ebx, ebx
cmp bx, ax
jge 0x1009a12c
mov edi, dword [esp + 0x38]
xor ebx, ebx
mov esi, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
mov eax, ebx
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x24]
and ecx, esi
or edx, ecx
je 0x1009a117
inc dword [esp + 0x14]
inc ebx
cmp ebx, edi
jl 0x1009a0f2
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 0
jg 0x1009a14b
jl 0x1009a13b
test edx, edx
jae 0x1009a14b
movsx eax, cx
mov ecx, dword [esp + 0x14]
add ecx, 0xffffffc1
add ecx, eax
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x58]
mov ecx, dword [esi]
push eax
push 0
lea edx, [edx + 1]
call fcn.1006ec00
add esp, 8
mov dword [esp + 0x18], eax
test eax, eax
je 0x1009a81c
mov ecx, dword [esp + 0x28]
xor ebx, ebx
xorps xmm0, xmm0
movlpd qword [esp + 0x58], xmm0
mov dword [ecx + 0x20], eax
mov ecx, dword [esp + 0x3c]
mov dword [eax], str.auto_index
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x4c]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x48]
jae 0x1009a2a0
mov ecx, dword [esp + 0x5c]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x40], ecx
push dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov ecx, eax
push dword [ebp + 0xc]
call fcn.10099d60
add esp, 8
test eax, eax
je 0x1009a287
mov eax, dword [esp + 0x34]
xor edx, edx
mov eax, dword [eax + 0x1c]
movzx ecx, ax
mov dword [esp + 0x58], ecx
cmp eax, 0x40
jl 0x1009a1ee
mov esi, bind
jmp 0x1009a201
xor esi, esi
bts edx, eax
cmp eax, 0x20
cmovae esi, edx
xor edx, esi
cmp eax, 0x40
cmovae esi, edx
mov ecx, edx
mov eax, esi
and ecx, dword [esp + 0x40]
and eax, dword [esp + 0x44]
or ecx, eax
jne 0x1009a287
mov eax, dword [esp + 0x34]
or dword [esp + 0x40], edx
mov edx, dword [esp + 0x58]
or dword [esp + 0x44], esi
mov ecx, dword [eax]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 4]
mov word [eax + ebx*2], dx
test dword [ecx + 4], 0x200
je 0x1009a23f
mov esi, dword [ecx + 0xc]
mov edx, dword [ecx + 0x10]
jmp 0x1009a245
mov esi, dword [ecx + 0x10]
mov edx, dword [ecx + 0xc]
test dword [edx + 4], 0x100
jne 0x1009a268
test esi, esi
je 0x1009a25b
test dword [esi + 4], 0x100
jne 0x1009a266
mov ecx, edi
call fcn.1005da70
test eax, eax
jne 0x1009a273
mov edx, esi
mov ecx, edi
call fcn.1005da70
test eax, eax
je 0x1009a277
mov ecx, dword [eax]
jmp 0x1009a27c
mov ecx, 0x103d6da4
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x20]
mov dword [eax + ebx*4], ecx
inc ebx
mov eax, dword [esp + 0x34]
add eax, 0x30
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x48]
jb 0x1009a1b7
mov edi, dword [esp + 0x20]
xor esi, esi
cmp dword [esp + 0x38], esi
jle 0x1009a2f0
mov edi, dword [esp + 0x18]
nop dword [eax]
xor edx, edx
xor ecx, ecx
mov eax, esi
bts edx, eax
cmp eax, 0x20
cmovae ecx, edx
xor edx, ecx
cmp eax, 0x40
cmovae ecx, edx
and edx, dword [esp + 0x24]
and ecx, dword [esp + 0x1c]
or edx, ecx
je 0x1009a2e5
mov eax, dword [edi + 4]
mov word [eax + ebx*2], si
mov eax, dword [edi + 0x20]
mov dword [eax + ebx*4], 0x103d6da4
inc ebx
inc esi
cmp esi, dword [esp + 0x38]
jl 0x1009a2b0
mov edi, dword [esp + 0x20]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x3c], 0
jg 0x1009a333
jl 0x1009a301
cmp dword [eax + 0x38], 0
jae 0x1009a333
mov esi, dword [esp + 0x3c]
mov eax, 0x3f
mov edx, dword [esp + 0x18]
cmp ax, word [esi + 0x2a]
jge 0x1009a337
mov ecx, eax
mov eax, dword [edx + 4]
mov word [eax + ebx*2], cx
inc ecx
mov eax, dword [edx + 0x20]
mov dword [eax + ebx*4], 0x103d6da4
inc ebx
movsx eax, word [esi + 0x2a]
cmp ecx, eax
jl 0x1009a316
jmp 0x1009a337
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 4]
or ecx, 0xffffffff
mov esi, dword [esp + 0x10]
mov word [eax + ebx*2], cx
mov eax, dword [edx + 0x20]
mov ecx, dword [ebp + 0x14]
mov edx, dword [esp + 0x14]
inc edx
mov dword [eax + ebx*4], 0x103d6da4
mov eax, dword [esi + 0x28]
mov dword [ecx + 8], eax
inc dword [esi + 0x28]
mov eax, dword [ecx + 8]
mov ecx, dword [edi + 0x6c]
mov dword [esp + 0x58], eax
cmp dword [edi + 0x70], ecx
jg 0x1009a384
push 0
push edx
push eax
mov edx, 0x63
mov ecx, edi
call fcn.10049750
add esp, 0xc
jmp 0x1009a3b7
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x58]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0x63
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 8]
mov ecx, esi
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], eax
call fcn.10070e80
mov esi, eax
test esi, esi
je 0x1009a3fd
mov edx, dword [esp + 0x58]
mov ecx, dword [edx]
cmp byte [ecx + 0x51], 0
je 0x1009a3eb
push esi
mov edx, 0xfffffff7
call fcn.1004a2f0
add esp, 4
jmp 0x1009a3fd
mov eax, dword [edx + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], esi
mov edx, dword [ebp + 0x14]
movzx eax, byte [edx + 0x34]
lea ecx, [eax + eax*8]
mov eax, dword [esp + 0x4c]
mov eax, dword [eax]
mov eax, dword [eax + 4]
test byte [eax + ecx*8 + 0x30], 0x10
lea esi, [eax + ecx*8]
mov dword [esp + 0x4c], esi
je 0x1009a50f
mov ecx, dword [edi + 0x6c]
mov edx, dword [esi + 0x24]
mov dword [esp + 0x48], edx
mov dword [esp + 0x50], ecx
cmp dword [edi + 0x70], ecx
jg 0x1009a454
push 0
push 0
push 0
mov edx, 0x45
mov ecx, edi
call fcn.10049750
mov edx, dword [esp + 0x54]
add esp, 0xc
mov dword [esp + 0x50], eax
jmp 0x1009a487
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x45
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
mov esi, dword [esi + 0x20]
cmp dword [edi + 0x70], ecx
jg 0x1009a4ab
push esi
push 0
push edx
mov edx, 0xd
mov ecx, edi
call fcn.10049750
mov edx, dword [esp + 0x54]
add esp, 0xc
jmp 0x1009a4da
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4], 0xd
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
mov esi, dword [edi + 0x6c]
cmp dword [edi + 0x70], esi
jg 0x1009a4fa
push 0
push 0
push edx
mov edx, 0xe
mov ecx, edi
call fcn.10049750
add esp, 0xc
mov esi, eax
jmp 0x1009a565
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xe
jmp 0x1009a545
mov esi, dword [edi + 0x6c]
mov edx, dword [edx + 4]
cmp dword [edi + 0x70], esi
jg 0x1009a532
push 0
push 0
push edx
mov edx, 0x25
mov ecx, edi
call fcn.10049750
add esp, 0xc
mov esi, eax
jmp 0x1009a565
lea eax, [esi + 1]
mov dword [edi + 0x6c], eax
lea ecx, [esi + esi*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0x25
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 4], edx
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x1009a593
mov eax, dword [esp + 0x10]
push 0x10
dec dword [eax + 0x38]
mov edx, dword [eax + 0x38]
push edx
push ecx
push eax
mov dword [esp + 0x3c], edx
call fcn.10064620
mov eax, dword [esp + 0x38]
add esp, 0x10
or dword [eax + 0x24], 0x20000
mov ecx, dword [esp + 0x10]
mov al, byte [ecx + 0x13]
test al, al
jne 0x1009a5a6
inc dword [ecx + 0x2c]
mov eax, dword [ecx + 0x2c]
jmp 0x1009a5b5
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov eax, dword [ecx + eax*4 + 0x94]
mov edx, dword [esp + 0x18]
push 0
push 0
push 0
push 0
push eax
mov dword [esp + 0x50], eax
mov eax, dword [ebp + 0x14]
push dword [eax + 4]
call fcn.10072c10
mov ecx, dword [edi + 0x6c]
add esp, 0x18
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 8]
mov dword [esp + 0x58], eax
cmp dword [edi + 0x70], ecx
jg 0x1009a603
mov edx, dword [esp + 0x3c]
mov ecx, edi
push 0
push edx
push eax
mov edx, 0x83
call fcn.10049750
add esp, 0xc
jmp 0x1009a636
mov edx, dword [esp + 0x58]
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x83
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 0x6c]
test ecx, ecx
jle 0x1009a650
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
mov edx, 0x10
mov word [eax + ecx*4 - 0x12], dx
mov ecx, dword [edi + 0x6c]
cmp dword [esp + 0x30], 0
je 0x1009a684
mov edx, dword [edi + 0xc]
not dword [esp + 0x2c]
mov eax, dword [edx + 0x3c]
add eax, dword [edx + 0x38]
jns 0x1009a67a
mov edx, dword [esp + 0x2c]
mov ecx, dword [edi + 0xc]
push edx
mov edx, edi
call fcn.10049e50
add esp, 4
jmp 0x1009a684
mov eax, dword [edx + 0x40]
mov edx, dword [esp + 0x2c]
mov dword [eax + edx*4], ecx
mov eax, dword [esp + 0x4c]
test byte [eax + 0x30], 0x10
je 0x1009a737
mov ecx, dword [esp + 0x50]
test ecx, ecx
jns 0x1009a69e
mov ecx, dword [edi + 0x6c]
dec ecx
mov eax, dword [edi]
cmp byte [eax + 0x51], 0
je 0x1009a6ad
mov ecx, 0x1041cd0c
jmp 0x1009a6b6
mov eax, dword [edi + 0x68]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x48]
mov edx, esi
add eax, ebx
mov ebx, dword [esp + 0x4c]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [esp + 0x10]
push dword [eax + 8]
push dword [ebx + 0x28]
push dword [eax + 4]
call fcn.10099cc0
mov ecx, dword [edi + 0x6c]
add esp, 0xc
cmp dword [edi + 0x70], ecx
jg 0x1009a702
push 0
push esi
push 0
mov edx, 0xb
mov ecx, edi
call fcn.10049750
add esp, 0xc
and dword [ebx + 0x30], 0xffffffef
jmp 0x1009a7a2
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
and dword [ebx + 0x30], 0xffffffef
jmp 0x1009a7a2
mov eax, dword [ebp + 0x14]
lea edx, [esi + 1]
mov ecx, dword [edi + 0x6c]
mov ebx, dword [eax + 4]
cmp dword [edi + 0x70], ecx
jg 0x1009a75d
push 0
push edx
push ebx
mov edx, 5
mov ecx, edi
call fcn.10049750
add esp, 0xc
jmp 0x1009a78b
lea eax, [ecx + 1]
mov dword [edi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x68]
lea edx, [esi + 1]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x6c]
test eax, eax
jle 0x1009a7a2
lea ecx, [eax + eax*4]
mov edx, 3
mov eax, dword [edi + 0x68]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x1009a7b4
mov eax, 0x1041cd0c
jmp 0x1009a7c5
test esi, esi
lea eax, [edx - 1]
cmovns eax, esi
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
mov dword [eax + 8], edx
test ecx, ecx
je 0x1009a7e8
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x1009a7e8
movzx eax, al
mov dword [esi + eax*4 + 0x94], ecx
inc byte [esi + 0x13]
mov eax, dword [edi]
mov edx, dword [edi + 0x6c]
cmp byte [eax + 0x51], 0
je 0x1009a7fd
mov eax, 0x1041cd0c
mov dword [eax + 8], edx
jmp 0x1009a81c
mov ecx, dword [esp + 0x54]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x68]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x1009a81c
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1009a82d
mov ecx, dword [esi]
mov edx, eax
call fcn.1005ea40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret