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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc8
mov esi, dword [ebp + 0x24]
mov edi, dword [ebp + 0x28]
mov edx, dword [ebp + 8]
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], esi
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [esp + 0x28], ecx
mov dword [esp + 8], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x44], 0
mov dword [esp + 0x40], 0
mov eax, dword [ebp + 0x20]
mov ebx, 6
test eax, eax
js 0x4057ef
mov ebx, eax
mov dword [esp + 0x14], ecx
mov eax, esi
mov ecx, ebx
or eax, edi
je 0x405804
mov eax, ebx
and eax, 0x400
jmp 0x405816
and ebx, 0x400
xor eax, eax
cmp dword [ebp + 0x14], 0
je 0x40581c
test ebx, ebx
jne 0x40581c
mov ebx, eax
mov ax, 8
test ecx, 0x10000
mov dword [esp + 4], esi
jne 0x405830
movzx eax, ax
or eax, 0x800
mov dword [esp + 0x8c], eax
and ecx, 0xf
mov dword [esp + 0x18], ecx
sete al
mov esi, ebx
test ebx, ebx
setne cl
mov ebx, dword [edx + 0x48]
mov dword [esp + 0xc], ebx
test ebx, ebx
je 0x4058af
cmp dword [edx + 0x14], 2
jne 0x4058af
cmp dword [ebp + 0x14], 0
sete ch
cmp dword [ebp + 0x10], 0
setne ah
cmp dword [ebp + 0xc], 0
je 0x4058af
or ah, ch
je 0x4058af
cmp word [ebp + 0x1c], 0
je 0x4058a8
cmp dword [ebp + 0x18], 0
je 0x4058af
cmp dword [esp + 0x18], 0xa
ja 0x4058af
mov ebx, dword [esp + 0xc]
mov ebx, dword [ebx + 0x34]
mov edx, dword [edx + 0x10]
test ebx, ebx
mov dword [esp + 0x10], esi
je 0x4058c0
cmp edx, 0xffffffff
jne 0x4058de
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 2
jmp 0x4058b6
cmp dword [esp + 0x18], 0xb
jb 0x405885
mov dword [edx + 0x1c], 0x18
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
test edi, edi
jne 0x4058ce
xor ebx, ebx
cmp edx, 0xffff
jne 0x4058de
mov edx, dword [esp + 0xc]
mov dword [edx + 0x34], 1
mov ebx, 1
mov edx, dword [esp + 4]
mov esi, edi
or edx, edi
je 0x4058fb
cmp dword [esp + 0x10], 0
jne 0x4058fb
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x18
jmp 0x4058b6
mov edx, dword [ebp + 0xc]
cmp byte [edx], 0x2f
mov edx, dword [ebp + 8]
jne 0x40590f
mov dword [edx + 0x1c], 0x19
jmp 0x4058b6
or al, cl
movzx eax, al
mov dword [esp + 0x20], eax
cmp dword [esp + 0x10], 0
je 0x40592b
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x90], eax
jmp 0x405974
mov edi, dword [ebp + 0x14]
push edi
push dword [ebp + 0x10]
push 0
call fcn.00403370
add esp, 0xc
mov dword [esp + 0x90], eax
xor esi, esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 0
mov eax, 1
mov ecx, 0
cmp edi, 4
jb 0x405968
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
push dword [ebp + 0xc]
call fcn.00408c00
add esp, 4
cmp eax, 0x10000
jb 0x405995
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x19
jmp 0x4058b6
mov dword [esp + 0x3c], eax
movzx eax, word [ebp + 0x1c]
mov dword [esp + 0x94], eax
mov dword [esp + 0x24], 0
mov edi, 0xfffffffe
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
or ecx, eax
mov ecx, 0
je 0x4059d1
lea ecx, [edi + eax]
inc ecx
mov edx, dword [edx]
and edx, ecx
sub eax, edx
and eax, ecx
mov ecx, eax
mov dword [esp + 0x4c], ecx
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 4]
xor eax, eax
mov ecx, dword [esp + 0x3c]
add ecx, dword [esp + 0x94]
setb al
mov dword [esp + 0x88], edx
add ecx, edx
adc eax, 0
mov edx, ecx
add edx, 0x4a
adc eax, 0
cmp edi, edx
sbb dword [esp + 0x24], eax
jae 0x405a17
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0xf
jmp 0x4058b6
mov dword [esp + 0x24], ecx
test ebx, ebx
mov ecx, dword [ebp + 8]
jne 0x405a85
mov ecx, dword [ecx]
mov edx, ecx
mov eax, dword [esp + 0x4c]
and edx, eax
xor ecx, eax
xor ebx, ebx
add edx, dword [esp + 0x3c]
setb bl
shld ebx, edx, 1
add edx, edx
xor eax, eax
mov edi, dword [esp + 0x88]
add edi, dword [esp + 0x94]
setb al
add edi, dword [ebp + 0x38]
adc eax, 0
add edi, dword [ebp + 0x40]
adc eax, 0
add edi, ecx
mov ecx, dword [ebp + 8]
adc eax, dword [ecx + 4]
add edi, edx
adc eax, ebx
add edi, 0x72
adc eax, 0xffffffff
xor ebx, ebx
cmp eax, 0xffffffff
je 0x405a85
mov eax, dword [esp + 0xc]
mov dword [eax + 0x34], 1
mov ebx, 1
mov dword [esp + 0x88], 0
mov edx, dword [esp + 0x3c]
test edx, edx
je 0x405acb
mov eax, edx
or eax, 0xfffffffe
and edx, 0xfffffffe
add edx, eax
mov eax, dword [ebp + 0xc]
cmp byte [eax + edx + 1], 0x2f
jne 0x405acb
cmp dword [ebp + 0x14], 0
jne 0x405cd1
mov dword [esp + 0x88], 0x10
or dword [esp + 4], esi
jne 0x405cd1
test ebx, ebx
je 0x405ad4
mov ebx, 0x1c
mov eax, dword [esp + 0x24]
add eax, ebx
add eax, 0x2e
mov edi, dword [esp + 0xc]
mov edx, dword [edi + 8]
cmp edx, eax
jae 0x405b36
mov esi, 1
test edx, edx
je 0x405b0d
mov esi, edx
jmp 0x405b0d
mov ecx, esi
and ecx, 2
mov edx, esi
or esi, 2
imul esi, ecx
xor ecx, 2
and edx, 0xfffffffd
imul edx, ecx
add esi, edx
cmp esi, eax
jb 0x405af5
push esi
push dword [edi + 0xc]
push dword [edi]
mov ebx, edi
mov edi, dword [ebp + 8]
push dword [edi + 0x34]
call dword [edi + 0x30]
add esp, 0x10
test eax, eax
je 0x405cb0
mov dword [ebx], eax
mov dword [ebx + 8], esi
mov ecx, edi
mov edi, ebx
mov eax, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
inc eax
cmp edx, eax
jae 0x405b8f
mov esi, 1
test edx, edx
je 0x405b66
mov esi, edx
jmp 0x405b66
mov ecx, esi
and ecx, 2
mov edx, esi
or esi, 2
imul esi, ecx
xor ecx, 2
and edx, 0xfffffffd
imul edx, ecx
add esi, edx
cmp esi, eax
jb 0x405b4e
push esi
push dword [edi + 0x1c]
push dword [edi + 0x10]
mov ebx, edi
mov edi, dword [ebp + 8]
push dword [edi + 0x34]
call dword [edi + 0x30]
add esp, 0x10
test eax, eax
je 0x405cb0
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x18], esi
mov ecx, edi
xor eax, eax
cmp dword [ebp + 0x14], 0
je 0x405bbc
cmp dword [esp + 0x20], 0
jne 0x405bbc
push 0x4df40
push 1
push dword [ecx + 0x34]
mov eax, dword [ebp + 8]
call dword [eax + 0x28]
mov ecx, dword [ebp + 8]
add esp, 0xc
test eax, eax
je 0x405dcf
mov dword [esp + 4], eax
mov edi, dword [esp + 0x14]
mov edx, edi
mov esi, dword [esp + 0x4c]
push esi
mov ebx, dword [esp + 0xc]
push ebx
call fcn.004063b0
add esp, 8
test eax, eax
je 0x405cbc
cmp dword [esp + 0x10], 0
setne dl
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add eax, esi
adc ecx, 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
add edi, esi
mov dword [esp + 0x14], edi
adc ebx, 0
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov word [esp + 0x84], 0
cmp dword [esp + 0x20], 0
mov esi, ebx
sete bl
or bl, dl
movzx edx, bl
shl edx, 3
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x34], 0
je 0x405cdd
mov dword [esp + 8], esi
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov eax, 0xfffffffe
cmp eax, edi
mov edx, 0
sbb edx, esi
jb 0x405ddb
xor edx, edx
cmp eax, dword [esp + 0x10]
sbb edx, ecx
jb 0x405ddb
mov dword [esp + 0xc], 0
xor eax, eax
mov esi, dword [esp + 0x10]
jmp 0x405e30
mov dword [edi + 0x1c], 0x10
jmp 0x4058b6
push dword [esp + 4]
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x2c]
add esp, 8
jmp 0x4058b6
mov dword [ecx + 0x1c], 0x18
jmp 0x4058b6
cmp dword [esp + 0x44], 0
jne 0x40619b
test esi, esi
jne 0x40619b
mov dword [esp + 8], esi
mov dword [esp + 0x68], 0x4034b50
test bl, bl
je 0x405d02
mov bl, 0x14
mov byte [esp + 0x6c], bl
mov ebx, dword [esp + 0x8c]
movzx edx, bx
mov byte [esp + 0x6e], bl
mov byte [esp + 0x6f], dh
mov edx, dword [esp + 0x24]
mov byte [esp + 0x70], dl
mov dword [esp + 0x71], 0
mov dword [esp + 0x75], 0
mov dword [esp + 0x79], 0
mov dword [esp + 0x7d], 0
mov byte [esp + 0x81], 0
mov ebx, dword [esp + 0x3c]
mov byte [esp + 0x82], bl
mov byte [esp + 0x83], bh
mov edx, dword [ebp + 0x38]
mov byte [esp + 0x84], dl
mov byte [esp + 0x85], dh
lea edx, [esp + 0x68]
push 0x1e
push edx
push ecx
push dword [esp + 0x1c]
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x405fc7
mov edi, dword [esp + 0x14]
add edi, 0x1e
mov eax, esi
mov esi, dword [esp + 8]
adc esi, 0
push ebx
push dword [ebp + 0xc]
push esi
push edi
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x405fb7
add edi, ebx
adc esi, 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov ebx, edi
jmp 0x405f31
mov dword [ecx + 0x1c], 0x10
jmp 0x4058b6
xor edx, edx
cmp eax, dword [esp + 0x10]
mov eax, 0
sbb eax, ecx
jb 0x405dee
xor eax, eax
jmp 0x405df2
lea eax, [esp + 0x28]
mov ecx, 0xfffffffe
cmp ecx, edi
mov ecx, 0
sbb ecx, esi
jb 0x405e09
mov esi, 0
jmp 0x405e0d
lea esi, [esp + 0x40]
jae 0x405e13
lea edx, [esp + 0x30]
lea ecx, [esp + 0xa8]
mov dword [esp + 0xc], ecx
push eax
push esi
call fcn.00406450
add esp, 8
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebp + 0x38]
mov dword [esp + 0x10], eax
add edx, eax
mov dword [esp + 0x68], 0x4034b50
test bl, bl
je 0x405e47
mov bl, 0x14
mov byte [esp + 0x6c], bl
mov byte [esp + 0x6d], 0
movzx ebx, word [esp + 0x8c]
mov byte [esp + 0x6e], bl
mov byte [esp + 0x6f], bh
mov ebx, dword [esp + 0x24]
mov byte [esp + 0x70], bl
mov dword [esp + 0x71], 0
mov dword [esp + 0x75], 0
mov dword [esp + 0x79], 0
mov dword [esp + 0x7d], 0
mov byte [esp + 0x81], 0
mov ebx, dword [esp + 0x3c]
mov byte [esp + 0x82], bl
mov byte [esp + 0x83], bh
mov byte [esp + 0x84], dl
mov byte [esp + 0x85], dh
lea edx, [esp + 0x68]
push 0x1e
push edx
push ecx
push esi
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x405fc7
mov edi, dword [esp + 0x14]
add edi, 0x1e
mov eax, esi
mov esi, dword [esp + 8]
adc esi, 0
push ebx
push dword [ebp + 0xc]
push esi
push edi
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x405fb7
add edi, ebx
adc esi, 0
cmp dword [esp + 0xc], 0
mov ebx, edi
je 0x405f29
lea eax, [esp + 0xa8]
mov edi, dword [esp + 0x10]
push edi
push eax
push esi
push ebx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, edi
jne 0x405f5d
add ebx, edi
adc esi, 0
jmp 0x405f31
mov dword [esp + 0xc], 0
mov edi, dword [ebp + 0x38]
test edi, edi
je 0x405f6c
push edi
push dword [ebp + 0x34]
push esi
push ebx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, edi
jne 0x405f5d
add ebx, edi
mov dword [esp + 0x14], ebx
adc esi, 0
mov dword [esp + 8], esi
jmp 0x405f74
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x13
jmp 0x4058b6
mov dword [esp + 8], esi
mov dword [esp + 0x14], ebx
cmp dword [esp + 0x20], 0
je 0x405fd3
mov esi, dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
push dword [esp + 0x10]
push dword [esp + 0x20]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x405fb7
mov eax, dword [ebp + 0x14]
add dword [esp + 0x14], eax
adc dword [esp + 8], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0
jmp 0x406098
push dword [esp + 4]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0x13
jmp 0x4058b6
cmp dword [ebp + 0x14], 0
je 0x406098
mov eax, dword [ebp + 8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x18]
mov ecx, eax
cmp eax, 0xa
jb 0x406014
mov ecx, 0xa
xor eax, eax
mov edx, dword [esp + 0x18]
cmp edx, 4
setl al
shl eax, 0xe
or eax, dword [ecx*4 + 0x438d28]
test edx, edx
jne 0x406033
or eax, 0x80000
lea ecx, [esp + 0x50]
push eax
push ecx
push 0x4064c0
mov esi, dword [esp + 0x10]
push esi
call fcn.00404980
add esp, 0x10
mov eax, dword [ebp + 0x14]
mov dword [esp + 0xa4], eax
lea eax, [esp + 0xa4]
push 4
push 0
push 0
push eax
push dword [ebp + 0x10]
push esi
call fcn.004034c0
add esp, 0x18
cmp eax, 1
jne 0x4061aa
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 8], eax
push dword [esp + 4]
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x2c]
add esp, 8
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov esi, ecx
mov dword [esp + 0x18], eax
or ecx, eax
je 0x4062b0
mov dword [esp + 0x50], 0x8074b50
mov edx, dword [esp + 0x90]
mov byte [esp + 0x54], dl
mov byte [esp + 0x55], dh
mov ecx, edx
shr ecx, 0x10
mov byte [esp + 0x56], cl
mov ecx, edx
shr ecx, 0x18
mov byte [esp + 0x57], cl
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
cmp dword [esp + 0xc], 0
je 0x406197
mov byte [esp + 0x58], cl
mov byte [esp + 0x59], ch
mov ebx, ecx
shr ebx, 0x10
mov byte [esp + 0x5a], bl
mov ebx, edx
shr ebx, 0x10
shr ecx, 0x18
mov byte [esp + 0x5b], cl
mov ecx, edx
shr ecx, 0x18
mov byte [esp + 0x5c], dl
mov byte [esp + 0x5d], dh
mov byte [esp + 0x5e], bl
mov byte [esp + 0x5f], cl
mov edx, esi
mov byte [esp + 0x60], dl
mov byte [esp + 0x61], dh
mov ecx, esi
shr ecx, 0x10
mov byte [esp + 0x62], cl
mov ecx, esi
shr ecx, 0x18
mov byte [esp + 0x63], cl
mov dword [esp + 0x4c], 0x38
mov dword [esp + 0x9c], 0x30
mov ecx, 0x28
mov dword [esp + 4], 0x18
mov dword [esp + 0x20], 0x17
mov eax, dword [esp + 0x18]
mov edx, eax
mov byte [esp + 0x1f], al
mov dword [esp + 0xa0], 0x16
mov dword [esp + 0x98], 0x15
mov edi, 0x14
jmp 0x406213
test edx, edx
je 0x4061c6
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x1d
jmp 0x4058b6
push dword [esp + 4]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0xc
jmp 0x4058b6
mov dword [esp + 0x58], ecx
mov dword [esp + 0x4c], 0x18
mov dword [esp + 0x9c], 0x10
mov ecx, 8
mov dword [esp + 0x20], 0xf
mov dword [esp + 0xa0], 0xe
mov edx, esi
mov byte [esp + 0x1f], dl
mov dword [esp + 0x98], 0xd
mov edi, 0xc
mov dword [esp + 4], 0x10
mov edx, esi
mov ebx, dword [esp + 0x18]
shrd edx, ebx, cl
shr ebx, cl
movzx eax, byte [esp + 0x1f]
mov byte [esp + edi + 0x50], al
test cl, 0x20
jne 0x40622e
mov ebx, edx
mov edx, esi
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0x18]
shrd edx, eax, cl
mov edi, dword [esp + 0x98]
mov byte [esp + edi + 0x50], bl
mov ebx, eax
shr ebx, cl
test cl, 0x20
jne 0x406254
mov ebx, edx
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
shrd esi, eax, cl
mov edx, esi
mov esi, dword [esp + 0xa0]
mov byte [esp + esi + 0x50], bl
shr eax, cl
test cl, 0x20
jne 0x406275
mov eax, edx
mov ecx, dword [esp + 0x20]
mov byte [esp + ecx + 0x50], al
lea eax, [esp + 0x50]
mov esi, dword [esp + 4]
push esi
push eax
push dword [esp + 0x10]
push dword [esp + 0x20]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x4058b6
mov eax, dword [esp + 4]
add dword [esp + 0x14], eax
adc dword [esp + 8], 0
cmp dword [esp + 0xc], 0
je 0x40630f
xor edx, edx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x28]
mov eax, 0
sbb eax, dword [esp + 0x2c]
jb 0x4062d1
xor eax, eax
jmp 0x4062d5
lea eax, [esp + 0x28]
mov ecx, 0xfffffffe
cmp ecx, dword [esp + 0x30]
mov ecx, 0
sbb ecx, dword [esp + 0x34]
jb 0x4062f0
mov edi, 0
jmp 0x4062f4
lea edi, [esp + 0x40]
jae 0x4062fa
lea edx, [esp + 0x30]
lea ecx, [esp + 0xa8]
push eax
push edi
call fcn.00406450
add esp, 8
mov dword [esp + 0x10], eax
movzx ebx, word [esp + 0x8c]
movzx esi, word [esp + 0x24]
movzx eax, word [esp + 0x10]
movzx edi, word [esp + 0x3c]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
push dword [esp + 0x90]
push dword [esp + 0x38]
push dword [esp + 0x38]
push ebx
push esi
push dword [esp + 0xac]
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x5c]
push dword [esp + 0x5c]
push dword [esp + 0xc4]
push dword [ebp + 0x18]
push eax
push dword [esp + 0x48]
push edi
call fcn.00406510
add esp, 0x44
test eax, eax
je 0x4058b6
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x14]
mov dword [edx], eax
mov eax, dword [esp + 8]
mov dword [edx + 4], eax
mov eax, 1
jmp 0x4058b8