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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
movzx edi, byte [eax + 0x2c]
mov esi, dword [eax]
mov dword [esp + 0x30], eax
mov eax, edi
mov dword [esp + 0x74], edx
mov word [esp + 0x5a], dx
mov byte [esp + 0x73], al
cmp edi, 1
jle 0x10e3d17
xor ebx, ebx
cmp edi, 2
setne bl
lea ebx, [ebx + ebx*4 + 5]
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 8]
test eax, eax
je 0x10e339d
cmp word [esp + 0x74], 0
je 0x10e339d
mov eax, dword [eax]
mov dword [esp + 0x3c], eax
add eax, eax
mov dword [esp + 8], eax
jmp 0x10e33ad
mov dword [esp + 8], 0
mov dword [esp + 0x3c], 0
lea eax, [edi*8 + 0x40]
mov dword [esp + 0x10], eax
imul eax, ebx
mov edx, eax
mov eax, dword [esp + 8]
add edx, eax
mov eax, dword [esi]
mov ecx, edx
sar ecx, 0x1f
call fcn.010b7ad0
mov dword [esp + 0x64], eax
test eax, eax
je 0x10e3f70
shl ebx, 5
xor ebp, ebp
mov dword [esp + 0xc], ebx
add ebx, eax
lea edx, [ebx + 4]
mov eax, ebx
mov dword [ebx], 0
and edx, 0xfffffffc
mov dword [ebx + 0x1c], 0
sub eax, edx
add eax, 0x20
and eax, 0xfffffffc
mov ecx, eax
lea eax, [eax - 1]
shr eax, 2
and eax, 1
mov dword [esp + 0x18], eax
mov eax, 4
mov dword [edx], 0
cmp eax, ecx
jae 0x10e3446
cmp dword [esp + 0x18], 0
je 0x10e3438
mov eax, 8
mov dword [edx + 4], 0
cmp eax, ecx
jae 0x10e3446
mov dword [edx + eax], ebp
mov dword [edx + eax + 4], ebp
add eax, 8
cmp eax, ecx
jb 0x10e3438
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x2c]
lea ebp, [edi*4]
mov eax, dword [esp + 0x64]
add edx, ebx
shl ecx, 6
mov dword [esp + 0xc], edx
add ecx, eax
mov dword [eax + 0x18], edx
add eax, 0x20
add edx, ebp
cmp eax, ecx
jne 0x10e3464
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x10e3d29
movzx eax, word [esi + 0x9c]
mov edx, 0x30
mov dword [esp + 0x4c], 0
cmp ax, dx
cmovg eax, edx
mov word [ebx + 0x10], ax
test edi, edi
je 0x10e3e50
mov eax, dword [esp + 0x64]
mov dword [esp + 0x78], esi
mov ecx, ebx
mov dword [esp + 0x34], 0
mov dword [esp + 0x24], eax
xor eax, eax
mov word [esp + 0x58], ax
xor eax, eax
mov word [esp + 0x42], ax
mov eax, 1
mov esi, eax
mov dword [esp + 0x48], 0
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x5c], edi
test esi, esi
jle 0x10e38ad
mov eax, dword [esp + 0x48]
mov dword [esp + 0xc], ecx
xor ebp, ebp
mov dword [esp + 0x18], 0
lea eax, [eax*4]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x44], esi
lea esi, [esi]
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x40]
mov dword [esp + 8], eax
test eax, eax
je 0x10e386c
mov dword [esp + 0x38], ebp
jmp 0x10e3543
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x3c]
mov dword [esp + 8], eax
test eax, eax
je 0x10e3868
mov eax, dword [esp + 0xc]
mov ebp, dword [esp + 8]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, esi
mov ebx, edi
not ecx
and ecx, dword [ebp]
not ebx
and ebx, dword [ebp + 4]
mov eax, ecx
or eax, ebx
jne 0x10e3530
mov ebx, dword [ebp + 0xc]
mov edx, edi
mov ecx, dword [ebp + 8]
mov eax, esi
and edx, ebx
and eax, ecx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
or eax, edx
jne 0x10e3530
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 8]
movzx ebp, word [edx + 0x10]
test byte [eax + 0x2d], 0x40
je 0x10e359a
cmp bp, 2
jle 0x10e3530
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 8]
mov dword [esp + 0x10], ecx
movzx edx, word [ebx + 0x14]
movsx eax, word [ebx + 0x12]
add edx, ebp
movsx edx, dx
call fcn.0109fd00
mov edx, dword [esp + 0xc]
cwde
movsx edx, word [edx + 0x14]
call fcn.0109fd00
mov edx, dword [esp + 0xc]
add bp, word [ebx + 0x16]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov word [esp + 0x40], bp
mov ebp, edi
mov edi, esi
movzx esi, byte [edx + 0x16]
mov word [esp + 0x1e], ax
or edi, ecx
or ebp, ebx
mov eax, esi
test al, al
js 0x10e37b0
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x88], eax
mov eax, esi
movsx ebx, al
cmp dword [esp + 0x3c], ebx
jle 0x10e37fa
mov eax, dword [esp + 0x4c]
lea eax, [eax + ebx*2]
movsx edx, word [eax]
mov dword [esp + 0x20], eax
test dx, dx
je 0x10e3923
movsx eax, word [esp + 0x1e]
mov ebx, eax
call fcn.0109fd00
mov edx, ebx
add eax, 3
mov word [esp + 0x1e], ax
mov eax, dword [esp + 0x18]
test eax, eax
jle 0x10e3810
mov ecx, esi
mov word [esp + 0x20], dx
mov eax, dword [esp + 0x24]
xor ebx, ebx
mov byte [esp + 0x10], cl
mov esi, dword [esp + 0x18]
jmp 0x10e367e
add ebx, 1
add eax, 0x20
cmp ebx, esi
je 0x10e3820
mov edx, edi
mov ecx, ebp
xor edx, dword [eax]
xor ecx, dword [eax + 4]
or edx, ecx
jne 0x10e3670
movzx edx, byte [esp + 0x10]
xor dl, byte [eax + 0x16]
js 0x10e3670
mov edi, dword [esp + 0x18]
movzx esi, byte [esp + 0x10]
movzx edx, word [esp + 0x20]
cmp ebx, edi
jge 0x10e382a
movzx edi, word [esp + 0x1e]
cmp di, word [eax + 0x12]
jg 0x10e3530
je 0x10e38ff
mov edi, dword [esp + 0xc]
mov ebp, dword [esp + 8]
mov ebx, dword [edi + 4]
or ebx, dword [ebp + 0xc]
mov ecx, dword [edi]
or ecx, dword [ebp + 8]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x8c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x88]
mov word [eax + 0x14], dx
mov dword [eax + 0xc], ebx
movzx ebx, word [esp + 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [eax + 0x18]
mov word [eax + 0x10], bx
movzx ebx, word [esp + 0x1e]
mov word [eax + 0x12], bx
mov ebx, esi
mov byte [eax + 0x16], bl
mov esi, dword [edi + 0x18]
mov edi, dword [esp + 0x28]
cmp edi, 4
jae 0x10e38c0
test edi, edi
je 0x10e3730
movzx edx, byte [esi]
xor edi, edi
mov byte [ecx], dl
test edi, edi
jne 0x10e3bd2
mov ecx, dword [eax + 0x18]
mov esi, dword [esp + 8]
mov eax, dword [esp + 0x28]
mov dword [ecx + eax], esi
mov esi, dword [esp + 0x18]
cmp dword [esp + 0x2c], esi
jg 0x10e3530
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x34], 0
movzx ebx, word [eax + 0x12]
movzx edi, word [eax + 0x10]
add eax, 0x20
mov word [esp + 0x42], bx
mov word [esp + 0x58], di
cmp esi, 1
je 0x10e3530
mov edx, 1
jmp 0x10e3798
movzx edi, word [eax + 0x14]
mov dword [esp + 0x34], edx
mov ebx, ecx
add edx, 1
add eax, 0x20
cmp esi, edx
je 0x10e38f0
movzx ecx, word [eax + 0x12]
cmp cx, bx
jg 0x10e3780
jne 0x10e378a
movzx ebp, word [eax + 0x14]
cmp bp, di
jle 0x10e378a
mov edi, ebp
jmp 0x10e3784
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x88]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov edx, dword [esi + 8]
push eax
push dword [esp + 0xc]
push dword [esp + 0x50]
movzx eax, word [esi + 0x28]
push eax
mov ecx, dword [esp + 0x1c]
mov eax, esi
call fcn.010e2810
add esp, 0x10
mov esi, eax
test al, al
jns 0x10e360e
movzx eax, word [esp + 0x1e]
lea edx, [eax - 2]
mov eax, dword [esp + 0x18]
test eax, eax
jg 0x10e3656
nop
mov edi, dword [esp + 0x18]
mov eax, edi
add edi, 1
mov dword [esp + 0x18], edi
jmp 0x10e3855
movzx esi, byte [esp + 0x10]
movzx edx, word [esp + 0x20]
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x2c], edi
jg 0x10e3810
movzx edi, word [esp + 0x42]
cmp word [esp + 0x1e], di
jg 0x10e3530
jne 0x10e3851
cmp dx, word [esp + 0x58]
jge 0x10e3530
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
shl eax, 5
add eax, edi
jmp 0x10e36c0
mov ebp, dword [esp + 0x38]
mov eax, dword [esp + 0x44]
add ebp, 1
add dword [esp + 0xc], 0x20
cmp ebp, eax
jne 0x10e3510
mov ecx, dword [esp + 0x60]
add dword [esp + 0x48], 1
mov eax, ecx
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x5c], esi
jle 0x10e3c03
mov esi, dword [esp + 0x18]
mov dword [esp + 0x24], eax
test esi, esi
jg 0x10e34e5
mov dword [esp + 0x18], 0
jmp 0x10e3884
mov edx, dword [esi]
lea edi, [ecx + 4]
and edi, 0xfffffffc
mov dword [ecx], edx
mov ebx, dword [esp + 0x28]
mov edx, dword [esi + ebx - 4]
mov dword [ecx + ebx - 4], edx
sub ecx, edi
sub esi, ecx
add ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
jmp 0x10e372d
mov word [esp + 0x42], bx
mov word [esp + 0x58], di
jmp 0x10e3530
movzx edi, word [esp + 0x40]
cmp di, word [eax + 0x10]
jg 0x10e3530
jne 0x10e36c0
cmp dx, word [eax + 0x14]
jl 0x10e36c0
jmp 0x10e3530
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x1c]
mov ecx, dword [eax]
mov eax, 0x88888889
add ecx, 0x3b
imul ecx
add edx, ecx
sar ecx, 0x1f
sar edx, 4
sub edx, ecx
mov eax, edx
mov dword [esp + 0x10], edx
sar eax, 0x1f
mov dword [esp + 0x14], eax
mov eax, 7
cmp eax, edx
mov eax, 0
sbb eax, dword [esp + 0x14]
jb 0x10e3a53
mov eax, 1
cmp eax, edx
mov edx, 0
sbb edx, dword [esp + 0x14]
mov edx, 0
jae 0x10e39f1
mov eax, 0x1e
mov edx, esi
mov dword [esp + 0x50], edi
mov ecx, 7
mov dword [esp + 0x54], ebp
mov byte [esp + 0x70], dl
mov edx, dword [esp + 0x14]
mov dword [esp + 0x68], ebx
mov ebx, eax
mov eax, dword [esp + 0x10]
lea esi, cs:[esi]
shld edx, eax, 1
add eax, eax
xor edi, edi
mov esi, ebx
sub ebx, 0xa
cmp ecx, eax
sbb edi, edx
jae 0x10e39a8
mov edi, dword [esp + 0x50]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x68]
mov word [esp + 0x50], si
movzx esi, byte [esp + 0x70]
mov eax, dword [esp + 0x10]
movzx ecx, word [esp + 0x50]
and eax, 7
movzx eax, word [eax + eax + 0x1438044]
lea edx, [ecx + eax - 0xa]
mov eax, dword [esp + 0x30]
add dx, word [esp + 0x5a]
mov word [esp + 0x10], dx
movzx eax, word [eax + 0x28]
mov word [esp + 0x70], ax
and ax, 0x4000
mov word [esp + 0x50], ax
mov eax, esi
test al, al
jne 0x10e3b10
cmp word [esp + 0x50], 0
je 0x10e3a9d
add word [esp + 0x10], 0xa
mov eax, dword [esp + 0x30]
movzx ebx, word [esp + 0x5a]
movzx eax, word [eax + 0x2a]
cmp bx, ax
cmovle eax, ebx
cmp ax, 0xa
jg 0x10e3aba
movsx edx, word [esp + 0x10]
mov eax, dword [esp + 0x20]
mov word [eax], dx
jmp 0x10e3634
mov edx, dword [esp + 0x14]
test edx, edx
je 0x10e3b9a
bsr eax, edx
xor eax, 0x1f
mov edx, 0x3c
sub edx, eax
mov ecx, edx
lea edx, [edx + edx*4]
lea eax, [edx + edx + 0x28]
mov edx, dword [esp + 0x14]
mov word [esp + 0x50], ax
mov eax, dword [esp + 0x10]
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
je 0x10e3a90
mov eax, edx
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
jmp 0x10e39d9
movzx eax, word [esp + 0x5a]
test word [esp + 0x70], 0x100
je 0x10e3a3c
cmp ax, 0xa
jle 0x10e3a42
sub eax, 0xa
cmp ax, 0xa
jle 0x10e3a42
cwde
cdq
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
test edx, edx
je 0x10e3be8
bsr eax, edx
xor eax, 0x1f
mov edx, 0x3c
movzx ebx, word [esp + 0x10]
sub edx, eax
lea eax, [edx + edx*4]
mov ecx, edx
mov edx, dword [esp + 0x54]
lea ebx, [ebx + eax*2 - 3]
mov eax, dword [esp + 0x50]
shrd eax, edx, cl
shr edx, cl
test cl, 0x20
je 0x10e3afb
mov eax, edx
and eax, 7
add bx, word [eax + eax + 0x1438044]
mov word [esp + 0x10], bx
jmp 0x10e3a42
mov edx, dword [esp + 0x3c]
mov eax, edx
sub eax, ebx
mov ebx, edx
imul eax, eax, 0x64
cdq
idiv ebx
cdq
cmp eax, 7
jg 0x10e3baa
mov ebx, 0xffffffbe
cmp eax, 1
jle 0x10e3b77
mov dword [esp + 0x68], edi
mov ecx, 0x1e
mov dword [esp + 0x6c], ebp
mov ebp, esi
shld edx, eax, 1
mov esi, 7
add eax, eax
mov ebx, ecx
sub ecx, 0xa
cmp esi, eax
mov esi, 0
sbb esi, edx
jae 0x10e3b43
mov esi, ebp
mov edi, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
and eax, 7
movzx eax, word [eax + eax + 0x1438044]
lea ebx, [ebx + eax - 0x4c]
add word [esp + 0x10], bx
cmp word [esp + 0x50], 0
movzx eax, word [esp + 0x10]
je 0x10e3a9d
add eax, 0x10
mov word [esp + 0x10], ax
jmp 0x10e3a29
bsr eax, dword [esp + 0x10]
xor eax, 0x1f
add eax, 0x20
jmp 0x10e3a65
test edx, edx
je 0x10e3bf8
bsr ecx, edx
mov ebx, ecx
xor ebx, 0x1f
mov ecx, 0x3c
sub ecx, ebx
lea ebx, [ecx + ecx*4]
shrd eax, edx, cl
shr edx, cl
lea ebx, [ebx + ebx + 0x28]
test cl, 0x20
je 0x10e3bd0
mov eax, edx
jmp 0x10e3b68
mov edi, dword [esp + 0x28]
movzx edx, word [esi + edi - 2]
mov word [ecx + edi - 2], dx
mov ecx, dword [eax + 0x18]
jmp 0x10e3730
bsr eax, dword [esp + 0x50]
xor eax, 0x1f
add eax, 0x20
jmp 0x10e3ad2
bsr ecx, eax
xor ecx, 0x1f
lea ebx, [ecx + 0x20]
jmp 0x10e3bb6
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x78]
mov ebp, dword [esp + 0x7c]
mov edi, dword [esp + 0x5c]
test ebx, ebx
je 0x10e3f7b
mov ecx, dword [esp + 0x24]
mov edx, ebx
shl edx, 5
lea eax, [ecx + 0x20]
add edx, ecx
mov ecx, dword [esp + 0x24]
cmp ebx, 1
jle 0x10e3c48
movzx ebx, word [ecx + 0x12]
cmp word [eax + 0x12], bx
cmovl ecx, eax
add eax, 0x20
cmp eax, edx
jne 0x10e3c32
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov ecx, dword [edx + 0x18]
mov ebx, dword [eax + 4]
lea edx, [eax + 0x2fc]
lea eax, [ebp + ecx]
mov dword [esp + 8], eax
mov eax, dword [ecx]
add ecx, 4
add edx, 0x60
mov dword [edx - 0x14], eax
movzx eax, byte [eax + 0x10]
mov byte [edx - 0x28], al
lea eax, [eax + eax*8]
mov eax, dword [ebx + eax*8 + 0x34]
mov dword [edx - 0x60], eax
mov eax, dword [esp + 8]
cmp ecx, eax
jne 0x10e3c64
mov eax, dword [esp + 0x30]
movzx eax, word [eax + 0x28]
mov word [esp + 8], ax
and ax, 0x180
cmp ax, 0x100
je 0x10e3e59
mov edx, dword [esp + 0x30]
movzx eax, byte [edx + 0x30]
mov ebx, eax
mov byte [esp + 8], al
and ebx, 0xfffffffb
mov eax, ebx
mov byte [esp + 0x10], bl
mov ebx, edx
mov byte [edx + 0x30], al
mov edx, dword [edx + 8]
test edx, edx
je 0x10e3cf2
mov eax, dword [esp + 0x24]
movsx eax, byte [eax + 0x16]
mov byte [ebx + 0x2d], al
movzx ebx, word [ebx + 0x28]
mov byte [esp + 0xc], al
mov word [esp + 8], bx
and ebx, 0x80
je 0x10e3d7a
cmp eax, dword [edx]
je 0x10e3f9e
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov edx, dword [esp + 0x64]
movzx eax, word [eax + 0x10]
mov word [edi + 0x34], ax
mov eax, dword [esi]
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.010a7e90
mov dword [esp + 0x2c], 1
mov ebx, 1
jmp 0x10e337c
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
sub esp, 4
sub eax, 0x40
imul eax, edx
mov edx, dword [esp + 0x10]
add edx, eax
mov dword [esp + 0x50], edx
push dword [esp + 0xc]
push 0
push edx
call 0x1184dc8
movzx eax, word [esi + 0x9c]
mov edx, 0x30
cmp ax, dx
cmovg eax, edx
add esp, 0x10
mov word [ebx + 0x10], ax
test edi, edi
je 0x10e3e48
mov byte [ebx + 0x16], 0xff
jmp 0x10e34a2
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
cmp byte [esp + 0xc], 0
mov ebx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov dword [eax + 0x4c], ebx
mov dword [eax + 0x48], ecx
jle 0x10e3ec1
test edi, edi
je 0x10e3da8
cmp byte [esp + 0xc], 1
je 0x10e3fab
test word [esp + 8], 0x200
je 0x10e3cf2
mov eax, dword [esp + 0x30]
movsx eax, byte [eax + 0x2d]
cmp eax, dword [edx]
jne 0x10e3cf2
test edi, edi
je 0x10e3cf2
lea eax, [esp + 0x88]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
push eax
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x18]
push dword [eax + ebp - 4]
movzx eax, byte [esp + 0x7b]
sub eax, 1
movzx eax, ax
push eax
push 0
mov edi, dword [esp + 0x40]
mov eax, edi
call fcn.010e2810
mov edx, dword [edi + 8]
add esp, 0x10
movsx eax, al
cmp eax, dword [edx]
jne 0x10e3cf2
mov edi, dword [esp + 0x30]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x8c]
or byte [edi + 0x30], 8
mov dword [edi + 0x48], eax
mov dword [edi + 0x4c], edx
jmp 0x10e3cf2
movzx eax, byte [esp + 0x3c]
mov byte [ebx + 0x16], al
mov dword [esp + 0x24], ebx
jmp 0x10e3c88
mov eax, dword [esp + 0x30]
cmp byte [eax + 0x2f], 0
jne 0x10e3ca3
cmp word [esp + 0x74], 0
je 0x10e3ca3
mov edx, dword [eax + 0xc]
mov ebx, eax
lea eax, [esp + 0x88]
push eax
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx + 0x18]
push dword [eax + ebp - 4]
movzx eax, byte [esp + 0x7b]
sub eax, 1
movzx eax, ax
push eax
mov eax, ebx
push pe_nt_image_headers32
call fcn.010e2810
mov edx, dword [ebx + 0xc]
add esp, 0x10
movsx eax, al
cmp eax, dword [edx]
jne 0x10e3ca3
mov eax, dword [esp + 0x30]
mov byte [eax + 0x2f], 2
jmp 0x10e3ca3
mov byte [eax + 0x2d], 0
test edi, edi
je 0x10e3cf2
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx + 0x18]
mov ebx, dword [eax + ebp - 4]
mov eax, dword [ebx + 0x2c]
test ah, 0x10
jne 0x10e3da8
not eax
test eax, 0x104
je 0x10e3da8
lea eax, [esp + 0x88]
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
push eax
push ebx
movzx eax, byte [esp + 0x7b]
sub eax, 1
movzx eax, ax
push eax
push 0x800
mov ebx, dword [esp + 0x40]
mov eax, ebx
call fcn.010e2810
mov edx, dword [ebx + 8]
add esp, 0x10
movsx eax, al
cmp eax, dword [edx]
jne 0x10e3f55
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x8c]
or byte [eax + 0x30], 4
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ebx
mov eax, dword [esp + 0x30]
movzx eax, word [eax + 0x28]
mov word [esp + 8], ax
jmp 0x10e3da8
add esp, 0x9c
pop ebx
pop esi
pop edi
pop ebp
ret
sub esp, 8
push 0x142f180
push esi
call fcn.010b78f0
mov eax, dword [esi]
mov edx, dword [esp + 0x74]
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.010a7e90
mov eax, dword [esp + 0x30]
mov byte [eax + 0x2f], 2
jmp 0x10e3da8
test byte [esp + 8], 3
je 0x10e3da8
movzx ebx, byte [esp + 0x10]
mov eax, dword [esp + 0x30]
or ebx, 4
mov byte [eax + 0x30], bl
jmp 0x10e3da8