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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1019c020]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
test eax, eax
mov edx, dword [ebp + 0xc]
push ebx
lea ebx, [ebp - 0x30]
mov dword [ebp - 0x28], edx
cmovne ebx, eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x24], ebx
mov dword [ebx], 0
cmp edi, 1
jb 0x1002f71a
cmp dword [esi + 0x54], 0x14
jae 0x1002f27a
mov eax, dword [ebx]
cmp eax, edi
jae 0x1002ed61
mov ecx, dword [esi + 0x54]
mov al, byte [edx + eax]
mov byte [ecx + esi + 0x58], al
inc dword [esi + 0x54]
inc dword [ebx]
cmp dword [esi + 0x54], 0x14
jb 0x1002ed46
cmp dword [esi + 0x54], 0x14
jb 0x1002f71a
mov al, byte [esi + 0x58]
cmp byte [esi + 0x59], al
jae 0x1002ed89
pop edi
pop esi
mov eax, 7
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012b4a2
mov esp, ebp
pop ebp
ret
cmp byte [esi + 0x5b], 0
jne 0x1002ed73
test byte [esi + 0x6a], 0xf0
jne 0x1002ed73
cmp byte [esi + 0x6b], 0
jl 0x1002ed73
movzx ecx, al
mov eax, dword [esi]
inc eax
cmp ecx, eax
je 0x1002edbb
pop edi
pop esi
mov eax, 6
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012b4a2
mov esp, ebp
pop ebp
ret
mov dword [esi + 4], ecx
movzx eax, byte [esi + 0x59]
mov dword [esi], eax
movzx eax, byte [esi + 0x5a]
test ecx, ecx
jne 0x1002edd1
mov dword [esi + 0x10], eax
jmp 0x1002edd6
cmp dword [esi + 0x10], eax
jne 0x1002eda5
movzx ecx, byte [esi + 0x5c]
movzx eax, byte [esi + 0x5d]
movzx edx, byte [esi + 0x60]
shl ecx, 8
or ecx, eax
shl edx, 8
movzx eax, byte [esi + 0x5e]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x5f]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x61]
or edx, eax
mov dword [ebp - 0x20], ecx
movzx eax, byte [esi + 0x62]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 0x63]
shl edx, 8
or edx, eax
cmp dword [esi + 4], 0
je 0x1002ee45
mov ecx, dword [esi]
sub ecx, dword [esi + 4]
mov eax, dword [esi + 8]
inc ecx
shl eax, cl
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x20]
cmp eax, ecx
je 0x1002ee45
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x2c]
shl eax, cl
cmp eax, edx
jne 0x1002eda5
mov ecx, dword [ebp - 0x20]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
movzx eax, byte [esi + 0x64]
shl eax, 8
mov dword [ebp - 0x20], eax
movzx eax, byte [esi + 0x65]
or dword [ebp - 0x20], eax
shl dword [ebp - 0x20], 8
movzx eax, byte [esi + 0x66]
or dword [ebp - 0x20], eax
movzx eax, byte [esi + 0x67]
shl dword [ebp - 0x20], 8
or dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x14], eax
cmp edx, 0xffffffff
jne 0x1002ee93
pop edi
pop esi
mov eax, 8
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012b4a2
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x10], 0
je 0x1002ed73
test ecx, ecx
je 0x1002ed73
test edx, edx
je 0x1002ed73
test eax, eax
je 0x1002ed73
mov ecx, dword [esi]
cmp ecx, 0x1f
jg 0x1002ee7d
test ecx, ecx
je 0x1002eed5
mov ecx, 0x20
mov eax, 1
sub ecx, dword [esi]
shl eax, cl
cmp dword [ebp - 0x20], eax
jae 0x1002ee7d
mov ecx, dword [esi]
movzx eax, byte [esi + 0x68]
mov dword [esi + 0x24], eax
cmp eax, 0x7f
jg 0x1002ed73
movzx eax, byte [esi + 0x69]
mov dword [esi + 0x28], eax
movzx eax, byte [esi + 0x6a]
mov dword [ebp - 0x2c], eax
mov dword [esi + 0x1c], eax
and eax, 7
lea eax, [eax + eax*2]
cmp dword [eax*4 + 0x10161a10], 0
jl 0x1002ed73
cmp dword [esi + 4], ecx
je 0x1002ef19
test byte [ebp - 0x2c], 0xc
jne 0x1002ee7d
movzx eax, byte [esi + 0x6b]
push ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x20], eax
call fcn.1002aa00
mov dword [esi + 0x18], eax
add esp, 4
mov eax, dword [esi + 0x1c]
and eax, 7
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x10161a10]
mov dword [esi + eax*4 + 0x30], 0
mov eax, dword [esi + 0x1c]
and eax, 7
lea eax, [eax + eax*2]
mov ecx, dword [eax*4 + 0x10161a14]
mov eax, dword [esi + 4]
mov dword [esi + ecx*4 + 0x30], eax
mov eax, dword [esi + 0x1c]
and eax, 7
lea eax, [eax + eax*2]
mov eax, dword [eax*4 + 0x10161a18]
mov dword [esi + eax*4 + 0x30], 0
cmp dword [esi + 4], 0
jne 0x1002f0d6
mov ecx, dword [esi + 0x10]
mov edx, 4
call fcn.1002a190
mov ecx, dword [esi + 0x10]
mov edx, 4
mov dword [esi + 0x4c], eax
call fcn.1002a190
mov ecx, dword [esi + 0x10]
mov edx, 4
mov dword [esi + 0x44], eax
call fcn.1002a190
mov ecx, dword [esi + 0x10]
mov edx, 4
mov dword [esi + 0x48], eax
call fcn.1002a190
mov ecx, dword [esi + 0x10]
mov edx, 4
mov dword [esi + 0x50], eax
call fcn.1002a190
mov ecx, dword [esi + 0x10]
mov edx, 4
mov dword [esi + 0x39c], eax
call fcn.1002a190
mov dword [esi + 0x3c], eax
mov edx, 4
mov ecx, dword [esi + 0x10]
call fcn.1002a190
mov dword [esi + 0x40], eax
cmp dword [esi + 0x10], 0
jle 0x1002f1ee
xor ebx, ebx
nop
mov ecx, dword [esi]
mov edx, 0x101c
sub ecx, dword [esi + 4]
inc ecx
call fcn.1002a190
mov ecx, dword [esi + 0x4c]
mov edx, 4
mov dword [ecx + ebx*4], eax
mov ecx, dword [esi]
sub ecx, dword [esi + 4]
inc ecx
call fcn.1002a190
mov ecx, dword [esi + 0x44]
mov edx, 4
mov dword [ecx + ebx*4], eax
mov ecx, dword [esi]
sub ecx, dword [esi + 4]
inc ecx
call fcn.1002a190
mov ecx, dword [esi + 0x48]
mov edx, 4
mov dword [ecx + ebx*4], eax
mov ecx, dword [esi]
sub ecx, dword [esi + 4]
inc ecx
call fcn.1002a190
mov ecx, dword [esi + 0x50]
mov edx, 4
mov dword [ecx + ebx*4], eax
mov ecx, dword [esi]
sub ecx, dword [esi + 4]
inc ecx
call fcn.1002a190
mov ecx, dword [esi + 0x39c]
mov edx, 0
mov dword [ecx + ebx*4], eax
mov eax, dword [esi + 8]
test al, 7
mov ecx, dword [esi + 0xc]
setne dl
shr eax, 3
add edx, eax
call fcn.1002a190
mov ecx, dword [esi]
mov edx, 0
and ecx, 1
mov ecx, dword [esi + ecx*4 + 0x3c]
mov dword [ecx + ebx*4], eax
mov eax, dword [esi + 8]
test al, 0xf
mov edi, dword [esi + 0xc]
mov ecx, edi
setne dl
shr eax, 4
shr ecx, 1
and edi, 1
add edx, eax
add ecx, edi
call fcn.1002a190
mov ecx, dword [esi]
dec ecx
and ecx, 1
mov ecx, dword [esi + ecx*4 + 0x3c]
mov dword [ecx + ebx*4], eax
inc ebx
cmp ebx, dword [esi + 0x10]
jl 0x1002f000
jmp 0x1002f1e8
cmp dword [esi + 0x10], 0
jle 0x1002f1ee
xor ebx, ebx
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi]
sub edx, dword [esi + 4]
push 0x101c
mov ecx, dword [ecx + ebx*4]
inc edx
call fcn.1002a1c0
mov ecx, dword [esi + 0x4c]
push 4
mov dword [ecx + ebx*4], eax
mov ecx, dword [esi + 0x44]
mov edx, dword [esi]
sub edx, dword [esi + 4]
inc edx
mov ecx, dword [ecx + ebx*4]
call fcn.1002a1c0
mov ecx, dword [esi + 0x44]
push 4
mov dword [ecx + ebx*4], eax
mov ecx, dword [esi + 0x48]
mov edx, dword [esi]
sub edx, dword [esi + 4]
inc edx
mov ecx, dword [ecx + ebx*4]
call fcn.1002a1c0
mov ecx, dword [esi + 0x48]
push 4
mov dword [ecx + ebx*4], eax
mov ecx, dword [esi + 0x50]
mov edx, dword [esi]
sub edx, dword [esi + 4]
inc edx
mov ecx, dword [ecx + ebx*4]
call fcn.1002a1c0
mov ecx, dword [esi + 0x50]
push 4
mov dword [ecx + ebx*4], eax
mov ecx, dword [esi + 0x39c]
mov edx, dword [esi]
sub edx, dword [esi + 4]
inc edx
mov ecx, dword [ecx + ebx*4]
call fcn.1002a1c0
mov ecx, dword [esi + 0x39c]
mov dword [ecx + ebx*4], eax
mov eax, 0
mov ecx, dword [esi + 8]
test cl, 7
mov edx, dword [esi + 0xc]
setne al
shr ecx, 3
add eax, ecx
push eax
mov eax, dword [esi]
and eax, 1
mov ecx, dword [esi + eax*4 + 0x3c]
mov ecx, dword [ecx + ebx*4]
call fcn.1002a1c0
mov ecx, dword [esi]
and ecx, 1
mov ecx, dword [esi + ecx*4 + 0x3c]
mov dword [ecx + ebx*4], eax
mov eax, 0
mov ecx, dword [esi + 8]
test cl, 0xf
mov edi, dword [esi + 0xc]
mov edx, edi
setne al
shr ecx, 4
add eax, ecx
shr edx, 1
mov ecx, dword [esi]
and edi, 1
dec ecx
add edx, edi
and ecx, 1
push eax
mov ecx, dword [esi + ecx*4 + 0x3c]
mov ecx, dword [ecx + ebx*4]
call fcn.1002a1c0
add esp, 0x1c
mov ecx, dword [esi]
dec ecx
and ecx, 1
mov ecx, dword [esi + ecx*4 + 0x3c]
mov dword [ecx + ebx*4], eax
inc ebx
cmp ebx, dword [esi + 0x10]
jl 0x1002f0e2
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp - 0x24]
xor ecx, ecx
mov dword [ebp - 0x20], ecx
cmp dword [esi + 0x10], ecx
jle 0x1002f234
mov eax, dword [esi]
xor edi, edi
sub eax, dword [esi + 4]
js 0x1002f225
xor ebx, ebx
mov eax, dword [esi + 0x4c]
xor edx, edx
mov ecx, dword [eax + ecx*4]
add ecx, ebx
call fcn.1002a560
mov eax, dword [esi]
inc edi
sub eax, dword [esi + 4]
add ebx, 0x101c
mov ecx, dword [ebp - 0x20]
cmp edi, eax
jle 0x1002f203
inc ecx
mov dword [ebp - 0x20], ecx
cmp ecx, dword [esi + 0x10]
jl 0x1002f1f8
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp + 0x10]
cmp dword [esi + 4], 0
je 0x1002f243
mov eax, dword [esi + 0x20]
and al, 6
cmp al, 4
jne 0x1002f24a
mov dword [esi + 0x2c], 0x1019f9a8
mov edx, dword [ebp - 0x28]
mov dword [esi + 0x70], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x398], 1
mov dword [esi + 0x7c], 0
cmp dword [esi + 0x54], 0x6d4
jae 0x1002f2e6
mov eax, dword [esi + 0x20]
and eax, 7
cmp al, 6
jne 0x1002f2e6
nop dword [eax]
mov eax, dword [ebx]
cmp eax, edi
jae 0x1002f2ae
mov ecx, dword [esi + 0x54]
mov al, byte [edx + eax]
mov byte [ecx + esi + 0x44], al
inc dword [esi + 0x54]
inc dword [ebx]
cmp dword [esi + 0x54], 0x6d4
jb 0x1002f290
cmp dword [esi + 0x54], 0x6d4
jb 0x1002f71a
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x1002f2c9
cmp eax, 0x1019f9a8
jne 0x1002f2db
mov edx, 1
mov ecx, 0x6c0
call fcn.1002a190
mov dword [esi + 0x2c], eax
mov ecx, dword [esi + 0x2c]
lea edx, [esi + 0x58]
call fcn.1002d6e0
cmp dword [ebx], edi
jae 0x1002f71a
nop
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x1002f320
mov edx, dword [ebx]
mov eax, edi
sub eax, edx
cmp ecx, eax
ja 0x1002f312
lea eax, [ecx + edx]
mov dword [ebx], eax
mov dword [esi + 0x70], 0
jmp 0x1002f712
sub ecx, edi
add ecx, edx
mov dword [esi + 0x70], ecx
mov dword [ebx], edi
jmp 0x1002f712
mov ecx, dword [esi + 0x6c]
test ecx, ecx
jle 0x1002f6d0
cmp ecx, 2
jge 0x1002f34e
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx]
cmp eax, edi
jae 0x1002f34e
mov ecx, dword [esi + 0x6c]
mov al, byte [edx + eax]
mov byte [ecx + esi + 0x58], al
inc dword [esi + 0x6c]
inc dword [ebx]
cmp dword [esi + 0x6c], 2
jl 0x1002f333
mov edx, dword [esi + 0x6c]
cmp edx, 2
jl 0x1002f712
movzx eax, byte [esi + 0x59]
cmp eax, 7
ja case.0x1002f367.1
jmp dword [eax*4 + 0x1002f7c0]
mov ecx, 6
jmp 0x1002f381
mov ecx, 8
jmp 0x1002f381
mov ecx, 2
mov dword [ebp - 0x20], ecx
cmp edx, ecx
jge 0x1002f3ad
mov edx, dword [ebp - 0x28]
nop dword [eax + eax]
mov eax, dword [ebx]
cmp eax, edi
jae 0x1002f3ad
mov ecx, dword [esi + 0x6c]
mov al, byte [edx + eax]
mov byte [ecx + esi + 0x58], al
inc dword [esi + 0x6c]
inc dword [ebx]
mov ecx, dword [ebp - 0x20]
cmp dword [esi + 0x6c], ecx
jl 0x1002f390
cmp dword [esi + 0x6c], ecx
jl 0x1002f712
movzx eax, byte [esi + 0x59]
add eax, 0xfffffffe
cmp eax, 5
ja case.default.0x1002f3c6
jmp dword [eax*4 + 0x1002f7e0]
movzx ecx, byte [esi + 0x5a]
movzx eax, byte [esi + 0x5b]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x5c]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x5d]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], ecx
jmp 0x1002f712
mov edx, dword [esi + 0x7c]
cmp edx, 0x40
jge 0x1002ee7d
movzx ecx, byte [esi + 0x5a]
movzx eax, byte [esi + 0x5b]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x5c]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x5d]
shl ecx, 8
or ecx, eax
mov dword [esi + edx*4 + 0x80], ecx
mov eax, dword [esi + 0x7c]
movsx ecx, byte [esi + 0x5e]
mov dword [esi + eax*4 + 0x180], ecx
mov eax, dword [esi + 0x7c]
movzx ecx, byte [esi + 0x5f]
mov dword [esi + eax*4 + 0x280], ecx
mov edx, dword [esi + 0x7c]
mov eax, dword [esi + 0x24]
neg eax
mov ecx, dword [esi + edx*4 + 0x180]
cmp ecx, eax
jl 0x1002ed73
cmp ecx, dword [esi + 0x24]
jg 0x1002ed73
mov eax, dword [esi + edx*4 + 0x280]
cmp eax, dword [esi + 0x28]
jg 0x1002ed73
test eax, eax
jne 0x1002ee7d
test ecx, ecx
js 0x1002ed73
test eax, eax
jne 0x1002ee7d
lea eax, [edx + 1]
mov dword [esi + 0x6c], 0
mov dword [esi + 0x7c], eax
jmp 0x1002f712
movzx edx, byte [esi + 0x5a]
movzx eax, byte [esi + 0x5b]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 0x5c]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 0x5d]
shl edx, 8
or edx, eax
cmp edx, dword [esi + 0xc]
ja 0x1002ed73
test byte [esi + 0x20], 0x20
je 0x1002ed73
push dword [esi]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xc], edx
call fcn.1002aa00
add esp, 4
mov dword [esi + 0x18], eax
mov dword [esi + 0x6c], 0
jmp 0x1002f712
push 2
lea edx, [esi + 0x58]
mov ecx, esi
call fcn.1002df80
mov eax, dword [esi + 0x1c]
add esp, 4
and eax, 7
lea ebx, [eax + eax*2]
mov eax, dword [esi + 0x18]
mov ecx, dword [ebx*4 + 0x10161a10]
dec eax
cmp dword [esi + ecx*4 + 0x30], eax
je 0x1002f52a
cmp byte [esi + 0x59], 3
mov dword [ebp - 0x20], 1
jne 0x1002f531
mov dword [ebp - 0x20], 0
mov eax, dword [ebx*4 + 0x10161a18]
mov edi, dword [esi + 0x4c]
mov edx, dword [esi + eax*4 + 0x30]
mov eax, dword [ebx*4 + 0x10161a14]
mov eax, dword [esi + eax*4 + 0x30]
sub eax, dword [esi + 4]
imul ecx, eax, 0x101c
add ecx, dword [edi + edx*4]
mov edx, dword [ebp - 0x20]
call fcn.1002a560
mov eax, dword [esi + 0x1c]
xor ebx, ebx
mov edx, dword [esi + 0x50]
and eax, 7
cmp byte [esi + 0x59], 3
sete bl
lea ecx, [eax + eax*2]
mov eax, dword [ecx*4 + 0x10161a18]
mov edi, dword [esi + eax*4 + 0x30]
mov eax, dword [ecx*4 + 0x10161a14]
mov ecx, dword [esi + eax*4 + 0x30]
mov eax, dword [edx + edi*4]
sub ecx, dword [esi + 4]
mov dword [eax + ecx*4], ebx
mov eax, dword [esi + 0x1c]
and eax, 7
mov dword [esi + 0x74], 0
mov dword [esi + 0x78], 0
mov dword [esi + 0x398], 1
mov dword [esi + 0x7c], 0
lea edx, [eax + eax*2]
mov eax, dword [esi + 0x18]
mov ecx, dword [edx*4 + 0x10161a10]
dec eax
mov dword [ebp + ecx*4 - 0x10], eax
mov eax, dword [esi + 4]
mov dword [ebp + ecx*4 - 0x1c], 0
mov ecx, dword [edx*4 + 0x10161a14]
mov dword [ebp + ecx*4 - 0x1c], eax
mov eax, dword [esi]
mov dword [ebp + ecx*4 - 0x10], eax
mov ecx, dword [edx*4 + 0x10161a18]
mov edx, 2
mov eax, dword [esi + 0x10]
dec eax
mov dword [ebp + ecx*4 - 0x1c], 0
mov dword [ebp + ecx*4 - 0x10], eax
lea ecx, [esi + 0x38]
inc dword [ecx]
xor edi, edi
mov eax, dword [ecx]
cmp eax, dword [ebp + edx*4 - 0x10]
jbe 0x1002f61f
mov edi, 1
test edx, edx
jle 0x1002f61f
mov eax, dword [ebp + edx*4 - 0x1c]
mov dword [ecx], eax
sub ecx, 4
sub edx, 1
js 0x1002f62b
test edi, edi
jne 0x1002f604
mov dword [esi + 0x6c], 0
test edi, edi
jne 0x1002f77a
mov eax, dword [esi + 0x1c]
and eax, 7
lea eax, [eax + eax*2]
cmp dword [eax*4 + 0x10161a14], edi
jne 0x1002f6a9
test edx, edx
jns 0x1002f6a9
mov ecx, dword [esi]
mov edx, 1
mov edi, dword [esi + 0x30]
sub ecx, edi
mov eax, dword [esi + 8]
shl edx, cl
dec edx
and edx, eax
neg edx
sbb edx, edx
shr eax, cl
neg edx
add edx, eax
cmp edx, dword [esi + 0x3a0]
ja 0x1002f750
mov eax, dword [esi + 0xc]
mov edx, 1
shl edx, cl
dec edx
and edx, eax
neg edx
sbb edx, edx
shr eax, cl
neg edx
add edx, eax
cmp edx, dword [esi + 0x3a4]
ja 0x1002f750
cmp edi, dword [esi + 0x3a8]
ja 0x1002f730
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp + 0x10]
mov dword [esi + 0x6c], 0
jmp 0x1002f712
push 2
lea edx, [esi + 0x58]
mov dword [esi + 0x6c], 0
mov ecx, esi
call fcn.1002df80
add esp, 4
jmp 0x1002f712
mov eax, dword [ebp - 0x28]
mov edx, dword [ebx]
add eax, edx
mov dword [ebp - 0x2c], eax
cmp byte [eax], 0xff
jne 0x1002f6eb
mov byte [ecx + esi + 0x58], 0xff
inc dword [esi + 0x6c]
inc dword [ebx]
jmp 0x1002f712
mov eax, edi
mov ecx, esi
sub eax, edx
mov edx, dword [ebp - 0x2c]
push eax
call fcn.1002df80
add dword [ebx], eax
add esp, 4
mov ecx, dword [ebx]
cmp ecx, edi
jae 0x1002f712
mov eax, dword [ebp - 0x28]
cmp byte [eax + ecx], 0xff
jne 0x1002ed73
cmp dword [ebx], edi
jb 0x1002f2f0
pop edi
pop esi
mov eax, 2
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012b4a2
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0x3a8], 0x100
mov eax, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012b4a2
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0x3a0], 0xffffffff
mov eax, 1
mov dword [esi + 0x3a4], 0xffffffff
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012b4a2
mov esp, ebp
pop ebp
ret
pop edi
mov dword [esi + 0x54], 0
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012b4a2
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 4
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012b4a2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 5
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1012b4a2
mov esp, ebp
pop ebp
ret