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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
call fcn.1005cba0
mov ebx, eax
mov eax, dword [edi + 0x48]
mov edi, dword [ebx + 0x18]
mov esi, dword [edi + 0x74]
dec eax
mov dword [esp + 0x18], eax
lea ecx, [esi - 1]
lea eax, [esi + 1]
mov dword [edi + 0x74], eax
test esi, ecx
jne 0x1004e10b
mov eax, dword [edi + 0x78]
mov ecx, dword [edi]
lea edx, [esi*8 + 4]
push 0
push edx
call fcn.100045e0
add esp, 8
mov dword [edi + 0x78], eax
mov edi, dword [edi + 0x78]
test edi, edi
je 0x1004e119
mov dword [edi + esi*4], 0xffffffff
or eax, 0xffffffff
sub eax, esi
cmp dword [ebp + 0x24], 0
mov dword [esp + 0x10], eax
jge 0x1004e17d
mov eax, dword [ebp + 0x18]
movzx ecx, byte [eax + 0x18]
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x58], eax
jg 0x1004e153
mov eax, dword [esp + 0x10]
push 0
push eax
push ecx
push 0x88
mov esi, ebx
call fcn.10024290
add esp, 0x10
jmp 0x1004e17d
lea edx, [eax + 1]
mov dword [ebx + 0x20], edx
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 8], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x88
mov eax, dword [ebp + 0x18]
xor edx, edx
xor edi, edi
cmp dword [eax + 0x14], edx
jle 0x1004e1f1
lea esp, [esp]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx + edi*4]
mov ecx, dword [ebp + 0x20]
mov esi, dword [ebx + 0x18]
lea ecx, [eax + ecx + 1]
mov eax, dword [ebx + 0x20]
cmp dword [esi + 0x58], eax
jg 0x1004e1c0
mov edx, dword [esp + 0x10]
push 0
push edx
push ecx
push 0x4c
mov esi, ebx
call fcn.10024290
add esp, 0x10
xor edx, edx
jmp 0x1004e1e8
lea esi, [eax + 1]
mov dword [ebx + 0x20], esi
mov esi, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x10]
mov byte [eax + 3], 0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x4c
mov eax, dword [ebp + 0x18]
inc edi
cmp edi, dword [eax + 0x14]
jl 0x1004e190
cmp dword [ebp + 0x28], edx
jne 0x1004e83c
xor edx, edx
cmp dword [ebp + 0x14], edx
jne 0x1004e456
mov ecx, dword [ebp + 8]
mov al, byte [ecx + 0x13]
test al, al
jne 0x1004e217
inc dword [ecx + 0x4c]
mov edi, dword [ecx + 0x4c]
jmp 0x1004e223
dec al
mov byte [ecx + 0x13], al
movzx eax, al
mov edi, dword [ecx + eax*4 + 0x1c]
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx]
mov ecx, dword [ebp + 0x20]
mov esi, dword [ebx + 0x18]
lea ecx, [eax + ecx + 1]
mov eax, dword [ebx + 0x20]
cmp dword [esi + 0x58], eax
jg 0x1004e24e
push 0
push edi
push ecx
push 0x1f
mov esi, ebx
call fcn.10024290
add esp, 0x10
xor edx, edx
jmp 0x1004e271
lea esi, [eax + 1]
mov dword [ebx + 0x20], esi
mov esi, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov byte [eax + 3], dl
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x1f
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x1004e293
push 0
push 0
push edi
push 0x26
mov esi, ebx
call fcn.10024290
add esp, 0x10
mov dword [esp + 0x24], eax
jmp 0x1004e2bb
mov esi, dword [ebx + 4]
lea eax, [ecx + 1]
mov dword [ebx + 0x20], eax
lea eax, [ecx + ecx*4]
lea eax, [esi + eax*4]
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x26
mov dword [esp + 0x24], ecx
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
cmp esi, dword [ecx]
jne 0x1004e2f6
cmp dword [ebp + 0x24], 1
jne 0x1004e2f6
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x20]
push edi
push edx
push eax
push 0x4f
push ebx
call fcn.100242d0
mov ecx, dword [ebx]
add esp, 0x14
cmp byte [ecx + 0x45], 0
jne 0x1004e2f6
mov eax, dword [ebx + 0x20]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
mov byte [eax + edx*4 - 0x11], 0x90
mov ecx, dword [esp + 0x18]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push 0x36
push ecx
push edx
call fcn.10050940
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
add esp, 0xc
cmp dword [ecx + 0x58], eax
jg 0x1004e32f
mov edx, dword [esp + 0x18]
push edi
push 0
push edx
push 0x46
mov esi, ebx
call fcn.10024290
add esp, 0x10
xor edx, edx
jmp 0x1004e359
lea ecx, [eax + 1]
mov dword [ebx + 0x20], ecx
mov ecx, dword [esp + 0x18]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea eax, [eax + edx*4]
xor edx, edx
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edx
mov word [eax], 0x46
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x58], eax
jg 0x1004e37d
mov edx, dword [esp + 0x10]
push 0
push edx
push 0
push 0xd
mov esi, ebx
call fcn.10024290
add esp, 0x10
xor edx, edx
jmp 0x1004e3a5
lea ecx, [eax + 1]
mov dword [ebx + 0x20], ecx
mov ecx, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x10]
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0xd
mov eax, dword [ebx + 0x20]
mov esi, dword [ebx + 0x18]
lea ecx, [eax - 1]
add eax, 0xfffffffe
mov dword [esi + 0x60], ecx
mov ecx, dword [ebx + 0x20]
cmp eax, edx
jge 0x1004e3be
lea eax, [ecx - 1]
mov esi, dword [ebx]
cmp byte [esi + 0x45], 0
je 0x1004e3cd
mov eax, 0x100d87f0
jmp 0x1004e3d6
mov esi, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [ebx + 0x20]
cmp eax, edx
jge 0x1004e3f1
lea eax, [ecx - 1]
mov esi, dword [ebx]
cmp byte [esi + 0x45], 0
je 0x1004e400
mov eax, 0x100d87f0
jmp 0x1004e409
mov esi, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov dword [eax + 8], ecx
cmp edi, edx
je 0x1004e83c
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x13]
cmp dl, 8
jae 0x1004e83c
mov esi, ecx
xor eax, eax
lea ecx, [esi + 0x7c]
lea ebx, [ebx]
cmp dword [ecx + 0xc], edi
je 0x1004e44d
inc eax
add ecx, 0x14
cmp eax, 0xa
jl 0x1004e430
movzx edx, dl
mov dword [esi + edx*4 + 0x1c], edi
inc byte [esi + 0x13]
jmp 0x1004e83c
mov byte [ecx + 6], 1
jmp 0x1004e83c
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
mov eax, dword [eax + 0x14]
mov ecx, dword [edi + 0x3c]
mov edx, dword [edi + 0x40]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
cmp eax, ecx
jg 0x1004e47d
add edx, eax
sub ecx, eax
mov dword [edi + 0x40], edx
mov dword [edi + 0x3c], ecx
jmp 0x1004e48c
mov ecx, dword [edi + 0x4c]
lea edx, [ecx + 1]
add ecx, eax
mov dword [esp + 0x20], edx
mov dword [edi + 0x4c], ecx
mov al, byte [edi + 0x13]
test al, al
jne 0x1004e49f
inc dword [edi + 0x4c]
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x24], eax
jmp 0x1004e4af
dec al
movzx ecx, al
mov byte [edi + 0x13], al
mov edx, dword [edi + ecx*4 + 0x1c]
mov dword [esp + 0x24], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
cmp dword [edx + 0x58], eax
jg 0x1004e4d8
mov eax, dword [ebp + 0xc]
push eax
push ecx
mov ecx, dword [esp + 0x20]
push ecx
push 0x36
mov esi, ebx
call fcn.10024290
add esp, 0x10
jmp 0x1004e507
lea edx, [eax + 1]
mov dword [ebx + 0x20], edx
mov edx, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov ecx, dword [ebp + 0xc]
mov byte [eax + 3], 0
mov dword [eax + 4], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0x36
mov edx, dword [ebp + 0x14]
mov esi, dword [edi + 8]
push edx
push edi
call fcn.10048910
mov edx, dword [esi]
add esp, 8
cmp byte [edx + 0x45], 0
je 0x1004e52d
mov ecx, eax
mov eax, 0xfffffffa
call fcn.10024cd0
jmp 0x1004e55d
mov edx, dword [esi + 0x20]
lea ecx, [edx + edx*4 - 5]
mov edx, dword [esi + 4]
cmp byte [edx + ecx*4 + 1], 0
lea ecx, [edx + ecx*4]
je 0x1004e552
push eax
push esi
mov eax, 0xfffffffa
call fcn.10024ec0
add esp, 8
jmp 0x1004e55d
test eax, eax
je 0x1004e55d
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], 0xfa
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], 0
test eax, eax
jle 0x1004e5da
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + edx*4]
mov eax, dword [ebp + 0x20]
mov esi, dword [ebx + 0x18]
lea ecx, [ecx + eax + 1]
mov eax, dword [ebx + 0x20]
cmp dword [esi + 0x58], eax
jg 0x1004e5a3
push 0
push edi
push ecx
push 0x1e
mov esi, ebx
call fcn.10024290
mov edx, dword [esp + 0x2c]
add esp, 0x10
jmp 0x1004e5c9
lea esi, [eax + 1]
mov dword [ebx + 0x20], esi
mov esi, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov dword [eax + 4], ecx
xor ecx, ecx
mov byte [eax + 3], 0
mov dword [eax + 8], edi
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov word [eax], 0x1e
mov eax, dword [esp + 0x14]
inc edx
inc edi
mov dword [esp + 0x1c], edx
cmp edx, eax
jl 0x1004e575
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
cmp ecx, dword [edx]
jne 0x1004e6ed
cmp dword [ebp + 0x24], 1
jne 0x1004e6ed
mov ecx, dword [ebx + 0x20]
xor edi, edi
lea edx, [eax + ecx + 1]
mov dword [esp + 0x1c], edx
cmp eax, edi
jle 0x1004e6a0
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax + edi*4]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + 4]
movzx eax, word [eax + edi*2]
mov ecx, dword [ebp + 0x20]
movsx esi, ax
lea edx, [edx + ecx + 1]
lea ecx, [esi + ecx + 1]
mov esi, dword [ebp + 0x10]
cmp ax, word [esi + 0x20]
jne 0x1004e631
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebx + 0x20]
mov esi, dword [ebx + 0x18]
cmp dword [esi + 0x58], eax
jg 0x1004e651
push ecx
mov ecx, dword [esp + 0x20]
push ecx
push edx
push 0x4e
mov esi, ebx
call fcn.10024290
add esp, 0x10
jmp 0x1004e67d
lea esi, [eax + 1]
mov dword [ebx + 0x20], esi
mov esi, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1c]
mov byte [eax + 3], 0
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], 0
mov word [eax], 0x4e
mov eax, dword [ebx]
cmp byte [eax + 0x45], 0
jne 0x1004e693
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 4]
lea ecx, [eax + eax*4]
mov byte [edx + ecx*4 - 0x11], 0x10
inc edi
cmp edi, dword [esp + 0x14]
jl 0x1004e607
xor edi, edi
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x58], eax
jg 0x1004e6c2
mov edx, dword [esp + 0x10]
push 0
push edx
push 0
push 0xd
mov esi, ebx
call fcn.10024290
add esp, 0x10
jmp 0x1004e6ea
lea ecx, [eax + 1]
mov dword [ebx + 0x20], ecx
mov ecx, dword [esp + 0x10]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 4]
lea eax, [eax + edx*4]
mov byte [eax + 3], 0
mov dword [eax + 4], edi
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov word [eax], 0xd
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov eax, dword [edi]
call fcn.100509e0
mov esi, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
mov dword [esp + 0x1c], eax
cmp dword [edx + 0x58], esi
jg 0x1004e727
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
push 0x31
mov esi, ebx
call fcn.10024290
mov edx, dword [esp + 0x24]
add esp, 0x10
jmp 0x1004e75d
mov edx, dword [ebx + 4]
lea eax, [esi + 1]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x20]
lea ecx, [esi + esi*4]
lea ecx, [edx + ecx*4]
mov edx, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x24]
mov dword [ecx + 0xc], eax
mov byte [ecx + 3], 0
mov dword [ecx + 8], edx
mov dword [ecx + 0x10], 0
mov word [ecx], 0x31
mov eax, esi
mov esi, dword [ebx]
cmp byte [esi + 0x45], 0
mov ecx, eax
je 0x1004e77b
cmp edx, 0xfffffff6
je 0x1004e7d3
mov ecx, dword [esp + 0x1c]
mov eax, edx
mov edx, esi
call fcn.10024cd0
jmp 0x1004e7d3
test eax, eax
jns 0x1004e783
mov ecx, dword [ebx + 0x20]
dec ecx
mov eax, dword [ebx + 4]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
test edx, edx
jns 0x1004e7c3
cmp byte [ecx + 1], 0
jne 0x1004e7c3
cmp edx, 0xfffffff2
jne 0x1004e7a8
mov edx, dword [esp + 0x1c]
mov dword [ecx + 0x10], edx
mov byte [ecx + 1], 0xf2
jmp 0x1004e7d3
cmp dword [esp + 0x1c], 0
je 0x1004e7d3
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x10], eax
mov byte [ecx + 1], dl
cmp edx, 0xfffffff6
jne 0x1004e7d3
inc dword [eax + 0xc]
jmp 0x1004e7d3
mov eax, dword [esp + 0x1c]
push eax
push ebx
mov eax, edx
call fcn.10024ec0
add esp, 8
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
push 0
push ecx
push 0x45
mov eax, esi
mov ecx, ebx
call fcn.100247f0
add esp, 0xc
test esi, esi
je 0x1004e81d
mov dl, byte [edi + 0x13]
cmp dl, 8
jae 0x1004e81d
xor eax, eax
lea ecx, [edi + 0x7c]
cmp dword [ecx + 0xc], esi
je 0x1004e8af
inc eax
add ecx, 0x14
cmp eax, 0xa
jl 0x1004e801
movzx edx, dl
mov dword [edi + edx*4 + 0x1c], esi
inc byte [edi + 0x13]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov eax, dword [ebp + 8]
call fcn.1003b510
mov ecx, dword [esp + 0x14]
cmp ecx, dword [eax + 0x3c]
jle 0x1004e83c
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], edi
mov ecx, dword [ebp + 0x18]
mov al, byte [ecx + 0x18]
mov esi, dword [ebp + 8]
test al, al
jne 0x1004e939
mov edx, dword [esi]
test dword [edx + 0x18], 0x1000000
jne 0x1004e939
cmp dword [esi + 0x1a0], 0
jne 0x1004e939
cmp byte [esi + 0x14], al
jne 0x1004e939
mov edi, esi
call fcn.1005cba0
mov edi, eax
mov eax, dword [esi + 0x1a0]
xor edx, edx
cmp eax, edx
je 0x1004e889
mov esi, eax
mov byte [esi + 0x15], 1
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x1004e8b8
push 0
push 2
push 0x313
push 0x15
mov esi, edi
call fcn.10024290
add esp, 0x10
jmp 0x1004e8e5
mov byte [ecx + 6], 1
jmp 0x1004e81d
mov esi, dword [edi + 4]
lea eax, [ecx + 1]
mov dword [edi + 0x20], eax
lea eax, [ecx + ecx*4]
lea eax, [esi + eax*4]
mov byte [eax + 3], dl
mov dword [eax + 4], 0x313
mov dword [eax + 8], 2
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x15
mov eax, ecx
mov edx, dword [edi]
cmp byte [edx + 0x45], 0
je 0x1004e8f9
xor ecx, ecx
lea eax, [ecx - 2]
call fcn.10024cd0
jmp 0x1004e921
test eax, eax
jns 0x1004e901
mov eax, dword [edi + 0x20]
dec eax
mov edx, dword [edi + 4]
lea ecx, [eax + eax*4]
cmp byte [edx + ecx*4 + 1], 0
lea ecx, [edx + ecx*4]
je 0x1004e921
push 0
push edi
mov eax, 0xfffffffe
call fcn.10024ec0
add esp, 8
mov eax, dword [edi]
cmp byte [eax + 0x45], 0
jne 0x1004e9a0
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 4]
lea ecx, [eax + eax*4]
mov byte [edx + ecx*4 - 0x11], 4
jmp 0x1004e9a0
mov edx, dword [ebp + 0x24]
xor edi, edi
cmp edx, edi
jle 0x1004e956
test al, al
jne 0x1004e956
mov eax, dword [esi + 0x1a0]
cmp eax, edi
je 0x1004e952
mov esi, eax
mov byte [esi + 0x15], 1
mov eax, dword [ebx + 0x20]
mov esi, dword [ebx + 0x18]
movzx ecx, byte [ecx + 0x18]
cmp dword [esi + 0x58], eax
jg 0x1004e97c
push 0
mov eax, edx
push eax
push ecx
push 0x87
mov esi, ebx
call fcn.10024290
add esp, 0x10
jmp 0x1004e9a0
lea esi, [eax + 1]
mov dword [ebx + 0x20], esi
mov esi, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov byte [eax + 3], 0
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
mov word [eax], 0x87
mov ecx, dword [ebx + 0x18]
mov eax, dword [ecx + 0x78]
xor edx, edx
cmp eax, edx
je 0x1004e9be
mov esi, dword [esp + 0x10]
lea esi, [esi*4 + 4]
sub eax, esi
mov esi, dword [ebx + 0x20]
mov dword [eax], esi
mov eax, dword [ebx + 0x20]
dec eax
mov dword [ecx + 0x60], eax
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x18]
cmp dword [ecx + 0x58], eax
jg 0x1004e9ea
push edx
push edx
mov edx, dword [esp + 0x20]
push edx
push 0x3d
mov esi, ebx
call fcn.10024290
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [eax + 1]
mov dword [ebx + 0x20], ecx
mov ecx, dword [ebx + 4]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
mov byte [eax + 3], dl
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov word [eax], 0x3d
pop ebx
mov esp, ebp
pop ebp
ret