Function at 0x4051b0
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 edi, dword [ebp + 0x24]
mov esi, dword [ebp + 0x28]
mov edx, dword [ebp + 8]
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], edi
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
mov dword [esp + 4], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov eax, dword [ebp + 0x20]
mov ebx, 6
test eax, eax
js 0x405203
mov ebx, eax
mov eax, edi
or eax, esi
je 0x405212
mov eax, ebx
and eax, 0x400
jmp 0x405226
mov ecx, ebx
and ecx, 0x400
xor eax, eax
cmp dword [ebp + 0x14], 0
je 0x40522c
test ecx, ecx
jne 0x40522c
mov ecx, eax
mov ax, 8
test ebx, 0x10000
jne 0x40523c
movzx eax, ax
or eax, 0x800
mov dword [esp + 0x90], eax
and ebx, 0xf
sete al
mov dword [esp + 0x14], ecx
test ecx, ecx
setne cl
mov edx, dword [edx + 0x48]
mov dword [esp + 8], edx
test edx, edx
je 0x405309
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 2
jne 0x405309
cmp dword [ebp + 0x14], 0
setne dl
cmp dword [ebp + 0x10], 0
sete ah
cmp dword [ebp + 0xc], 0
je 0x405309
and ah, dl
jne 0x405309
cmp word [ebp + 0x1c], 0
setne dl
cmp dword [ebp + 0x18], 0
sete ah
test ah, dl
jne 0x405309
cmp ebx, 0xb
jae 0x405309
mov edx, dword [esp + 8]
mov edx, dword [edx + 0x34]
mov dword [esp + 0x20], edx
mov edx, dword [ebp + 8]
mov edx, dword [edx + 0x10]
mov dword [esp + 0xc], edx
cmp dword [esp + 0x20], 0
je 0x4052d1
cmp dword [esp + 0xc], 0xffffffff
jne 0x4052fc
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 2
jmp 0x405313
mov edx, dword [esp + 0xc]
test esi, esi
jne 0x4052e9
mov dword [esp + 0x20], 0
cmp edx, 0xffff
jne 0x4052fc
mov edx, dword [esp + 8]
mov dword [edx + 0x34], 1
mov dword [esp + 0x20], 1
mov edx, edi
or edx, esi
je 0x40531d
cmp dword [esp + 0x14], 0
jne 0x40531d
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x18
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [ebp + 0xc]
cmp byte [edx], 0x2f
mov edx, dword [ebp + 8]
jne 0x405331
mov dword [edx + 0x1c], 0x19
jmp 0x405313
or al, cl
movzx eax, al
mov dword [esp + 0xc], eax
cmp dword [esp + 0x14], 0
je 0x405351
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x94], eax
mov dword [esp + 0x24], ebx
jmp 0x405396
mov edi, dword [ebp + 0x14]
push edi
push dword [ebp + 0x10]
push 0
call fcn.00402db0
add esp, 0xc
mov dword [esp + 0x94], eax
xor esi, esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], 0
mov eax, 0
cmp edi, 4
jb 0x405383
mov eax, ebx
mov dword [esp + 0x24], eax
mov eax, 1
jb 0x405392
mov eax, dword [esp + 0xc]
mov dword [esp + 0xc], eax
push dword [ebp + 0xc]
call fcn.004085c0
add esp, 4
cmp eax, 0x10000
jb 0x4053b7
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x19
jmp 0x405313
mov dword [esp + 0x4c], eax
mov dword [esp + 0x18], 0
mov edx, 0xfffffffe
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
or ecx, eax
mov ecx, 0
je 0x4053e8
lea ecx, [edx + eax]
inc ecx
mov ebx, dword [ebx]
and ebx, ecx
sub eax, ebx
and eax, ecx
mov ecx, eax
mov dword [esp + 0x44], ecx
mov eax, dword [esp + 8]
mov edx, dword [eax + 4]
movzx ecx, word [ebp + 0x1c]
xor ebx, ebx
mov dword [esp + 0xa0], ecx
add ecx, dword [esp + 0x4c]
setb bl
mov dword [esp + 0x8c], edx
add ecx, edx
adc ebx, 0
mov eax, ecx
mov dword [esp + 0x48], ecx
add eax, 0x4a
adc ebx, 0
mov ecx, 0xfffffffe
cmp ecx, eax
sbb dword [esp + 0x18], ebx
jae 0x40543b
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0xf
jmp 0x405313
mov ebx, dword [esp + 0x20]
test ebx, ebx
mov ecx, dword [esp + 0x4c]
jne 0x4054aa
mov eax, ecx
shr eax, 0x1f
mov dword [esp + 0x20], eax
mov ebx, dword [esp + 0xa0]
add ebx, dword [ebp + 0x38]
mov edx, 0
adc edx, 0xffffffff
add ebx, dword [ebp + 0x40]
adc edx, 0
lea eax, [ecx + ecx]
add ebx, eax
adc edx, dword [esp + 0x20]
add ebx, dword [esp + 0x44]
adc edx, 0
add ebx, dword [esp + 0x8c]
adc edx, 0
mov eax, dword [ebp + 8]
add ebx, dword [eax]
adc edx, dword [eax + 4]
add ebx, 0x72
mov ebx, 0
adc edx, 0
cmp edx, 0xffffffff
je 0x4054aa
mov eax, dword [esp + 8]
mov dword [eax + 0x34], 1
mov ebx, 1
xor edx, edx
test ecx, ecx
je 0x4054d8
mov eax, dword [ebp + 0xc]
cmp byte [ecx + eax - 1], 0x2f
mov ecx, dword [ebp + 8]
jne 0x4054db
cmp dword [ebp + 0x14], 0
jne 0x4054cc
mov edx, 0x10
or edi, esi
je 0x4054db
mov dword [ecx + 0x1c], 0x18
jmp 0x405313
mov ecx, dword [ebp + 8]
mov dword [esp + 0x20], edx
test ebx, ebx
je 0x4054e8
mov ebx, 0x1c
mov eax, dword [esp + 0x48]
add eax, ebx
add eax, 0x2e
mov ebx, dword [esp + 8]
mov edx, dword [ebx + 8]
cmp edx, eax
jae 0x405546
mov esi, 1
test edx, edx
je 0x405521
mov esi, edx
jmp 0x405521
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 0x405509
push esi
push dword [ebx + 0xc]
push dword [ebx]
mov edi, dword [ebp + 8]
push dword [edi + 0x34]
call dword [edi + 0x30]
add esp, 0x10
test eax, eax
je 0x4056cb
mov dword [ebx], eax
mov dword [ebx + 8], esi
mov ecx, edi
mov eax, dword [ebx + 0x14]
mov edx, dword [ebx + 0x18]
inc eax
cmp edx, eax
jae 0x40559d
mov esi, 1
test edx, edx
je 0x405576
mov esi, edx
jmp 0x405576
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 0x40555e
push esi
push dword [ebx + 0x1c]
push dword [ebx + 0x10]
mov edi, dword [ebp + 8]
push dword [edi + 0x34]
call dword [edi + 0x30]
add esp, 0x10
test eax, eax
je 0x4056cb
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x18], esi
mov ecx, edi
xor eax, eax
cmp dword [ebp + 0x14], 0
je 0x4055ca
cmp dword [esp + 0xc], 0
jne 0x4055ca
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 0x405717
mov dword [esp + 0x18], eax
mov esi, ecx
mov edi, dword [esp + 0x10]
mov edx, edi
mov ebx, dword [esp + 0x44]
push ebx
push dword [esp + 8]
call fcn.00405dd0
add esp, 8
test eax, eax
je 0x4056d7
cmp dword [esp + 0x14], 0
sete dl
mov ecx, dword [esp + 0x28]
mov esi, ecx
and esi, ebx
mov eax, esi
shr eax, 0x1f
add esi, esi
xor ecx, ebx
add ecx, esi
adc eax, dword [esp + 0x2c]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x2c], eax
add edi, ebx
mov dword [esp + 0x10], edi
mov edi, dword [esp + 4]
adc edi, 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 dword [esp + 0x84], 0
mov word [esp + 0x88], 0
cmp dword [esp + 0xc], 0
setne bl
and bl, dl
mov edx, ebx
xor dl, 1
movzx edx, dl
shl edx, 3
mov dword [esp + 0x48], edx
mov eax, dword [esp + 8]
cmp dword [eax + 0x34], 0
je 0x4056e9
mov dword [esp + 4], edi
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
mov eax, 0xfffffffe
cmp eax, edi
mov edx, 0
sbb edx, esi
jb 0x405723
xor edx, edx
cmp eax, ecx
sbb edx, dword [esp + 0x14]
jb 0x405723
mov dword [esp + 8], 0
xor eax, eax
mov esi, dword [esp + 0x14]
jmp 0x405778
mov dword [edi + 0x1c], 0x10
jmp 0x405313
push dword [esp + 0x18]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
jmp 0x405313
cmp dword [esp + 0x3c], 0
jne 0x405bd0
test edi, edi
jne 0x405bd0
mov dword [esp + 0x6c], 0x4034b50
test bl, bl
mov dword [esp + 4], edi
jne 0x405883
mov dl, 0x14
jmp 0x405885
mov dword [ecx + 0x1c], 0x10
jmp 0x405313
xor edx, edx
cmp eax, ecx
mov eax, 0
sbb eax, dword [esp + 0x14]
jb 0x405736
xor eax, eax
jmp 0x40573a
lea eax, [esp + 0x28]
mov ecx, 0xfffffffe
cmp ecx, edi
mov ecx, 0
sbb ecx, esi
jb 0x405751
mov esi, 0
jmp 0x405755
lea esi, [esp + 0x38]
jae 0x40575b
lea edx, [esp + 0x30]
lea ecx, [esp + 0xa8]
mov dword [esp + 8], ecx
push eax
push esi
call fcn.00405e70
add esp, 8
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov edx, dword [ebp + 0x38]
add edx, eax
mov dword [esp + 0x6c], 0x4034b50
test bl, bl
mov dword [esp + 0x14], eax
jne 0x405791
mov bl, 0x14
jmp 0x405793
xor ebx, ebx
mov byte [esp + 0x70], bl
mov byte [esp + 0x71], 0
movzx ebx, word [esp + 0x90]
mov byte [esp + 0x72], bl
mov byte [esp + 0x73], bh
mov ebx, dword [esp + 0x48]
mov byte [esp + 0x74], bl
mov dword [esp + 0x75], 0
mov dword [esp + 0x79], 0
mov dword [esp + 0x7d], 0
mov dword [esp + 0x81], 0
mov byte [esp + 0x85], 0
mov ebx, dword [esp + 0x4c]
mov byte [esp + 0x86], bl
mov byte [esp + 0x87], bh
mov byte [esp + 0x88], dl
mov byte [esp + 0x89], dh
lea edx, [esp + 0x6c]
push 0x1e
push edx
push esi
push ecx
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x4059fc
mov edi, dword [esp + 0x10]
add edi, 0x1e
mov eax, esi
mov esi, dword [esp + 4]
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 0x4059ec
add edi, ebx
adc esi, 0
cmp dword [esp + 8], 0
mov ebx, edi
je 0x40595a
lea eax, [esp + 0xa8]
mov edi, dword [esp + 0x14]
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 0x405992
add ebx, edi
adc esi, 0
jmp 0x405962
xor edx, edx
mov byte [esp + 0x70], dl
mov byte [esp + 0x71], 0
mov ebx, dword [esp + 0x90]
movzx edx, bx
mov byte [esp + 0x72], bl
mov byte [esp + 0x73], dh
mov edx, dword [esp + 0x48]
mov byte [esp + 0x74], dl
mov dword [esp + 0x75], 0
mov dword [esp + 0x79], 0
mov dword [esp + 0x7d], 0
mov dword [esp + 0x81], 0
mov byte [esp + 0x85], 0
mov ebx, dword [esp + 0x4c]
mov byte [esp + 0x86], bl
mov byte [esp + 0x87], bh
mov edx, dword [ebp + 0x38]
mov byte [esp + 0x88], dl
mov byte [esp + 0x89], dh
lea edx, [esp + 0x6c]
push 0x1e
push edx
push dword [esp + 0x1c]
push ecx
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x4059fc
mov edi, dword [esp + 0x10]
add edi, 0x1e
mov eax, esi
mov esi, dword [esp + 4]
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 0x4059ec
add edi, ebx
adc esi, 0
mov dword [esp + 0x14], 0
mov dword [esp + 8], 0
mov eax, dword [ebp + 0x38]
mov ebx, edi
jmp 0x405965
mov dword [esp + 8], 0
mov eax, dword [ebp + 0x38]
test eax, eax
je 0x4059a1
push eax
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, dword [ebp + 0x38]
mov eax, dword [ebp + 0x38]
jne 0x405992
add ebx, eax
mov dword [esp + 0x10], ebx
adc esi, 0
mov dword [esp + 4], esi
jmp 0x4059a9
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x13
jmp 0x405313
mov dword [esp + 4], esi
mov dword [esp + 0x10], ebx
cmp dword [esp + 0xc], 0
je 0x405a08
mov esi, dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
push dword [esp + 0xc]
push dword [esp + 0x1c]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x4059ec
mov eax, dword [ebp + 0x14]
add dword [esp + 0x10], eax
adc dword [esp + 4], 0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
jmp 0x405acd
push dword [esp + 0x18]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0x13
jmp 0x405313
cmp dword [ebp + 0x14], 0
je 0x405acd
mov eax, dword [ebp + 8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x24]
mov ecx, eax
cmp eax, 0xa
jl 0x405a49
mov ecx, 0xa
xor eax, eax
mov edx, dword [esp + 0x24]
cmp edx, 4
setl al
shl eax, 0xe
or eax, dword [ecx*4 + 0x43ed28]
test edx, edx
jne 0x405a68
or eax, 0x80000
lea ecx, [esp + 0x50]
push eax
push ecx
push 0x405ee0
mov esi, dword [esp + 0x24]
push esi
call fcn.004043a0
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.00402f10
add esp, 0x18
cmp eax, 1
jne 0x405bdf
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
push dword [esp + 0x18]
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 + 0xc], eax
or ecx, eax
je 0x405ce5
mov dword [esp + 0x50], 0x8074b50
mov edx, dword [esp + 0x94]
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 + 0x38]
mov edx, dword [esp + 0x3c]
cmp dword [esp + 8], 0
je 0x405bcc
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 + 0x44], 0x38
mov dword [esp + 0x9c], 0x30
mov ecx, 0x28
mov dword [esp + 0x24], 0x18
mov dword [esp + 0x18], 0x17
mov eax, dword [esp + 0xc]
mov edx, eax
mov byte [esp + 0x1f], al
mov dword [esp + 0x8c], 0x16
mov dword [esp + 0x98], 0x15
mov edi, 0x14
jmp 0x405c48
test edx, edx
je 0x405bfb
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x1d
jmp 0x405313
push dword [esp + 0x18]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0xc
jmp 0x405313
mov dword [esp + 0x58], ecx
mov dword [esp + 0x44], 0x18
mov dword [esp + 0x9c], 0x10
mov ecx, 8
mov dword [esp + 0x18], 0xf
mov dword [esp + 0x8c], 0xe
mov edx, esi
mov byte [esp + 0x1f], dl
mov dword [esp + 0x98], 0xd
mov edi, 0xc
mov dword [esp + 0x24], 0x10
mov edx, esi
mov ebx, dword [esp + 0xc]
shrd edx, ebx, cl
shr ebx, cl
movzx eax, byte [esp + 0x1f]
mov byte [esp + edi + 0x50], al
test cl, 0x20
jne 0x405c63
mov ebx, edx
mov edx, esi
mov ecx, dword [esp + 0x9c]
mov eax, dword [esp + 0xc]
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 0x405c89
mov ebx, edx
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0xc]
shrd esi, eax, cl
mov edx, esi
mov esi, dword [esp + 0x8c]
mov byte [esp + esi + 0x50], bl
shr eax, cl
test cl, 0x20
jne 0x405caa
mov eax, edx
mov ecx, dword [esp + 0x18]
mov byte [esp + ecx + 0x50], al
lea eax, [esp + 0x50]
mov esi, dword [esp + 0x24]
push esi
push eax
push dword [esp + 0xc]
push dword [esp + 0x1c]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x405313
mov eax, dword [esp + 0x24]
add dword [esp + 0x10], eax
adc dword [esp + 4], 0
cmp dword [esp + 8], 0
je 0x405d44
xor edx, edx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x28]
mov eax, 0
sbb eax, dword [esp + 0x2c]
jb 0x405d06
xor eax, eax
jmp 0x405d0a
lea eax, [esp + 0x28]
mov ecx, 0xfffffffe
cmp ecx, dword [esp + 0x30]
mov ecx, 0
sbb ecx, dword [esp + 0x34]
jb 0x405d25
mov edi, 0
jmp 0x405d29
lea edi, [esp + 0x38]
jae 0x405d2f
lea edx, [esp + 0x30]
lea ecx, [esp + 0xa8]
push eax
push edi
call fcn.00405e70
add esp, 8
mov dword [esp + 0x14], eax
movzx ebx, word [esp + 0x90]
movzx esi, word [esp + 0x48]
movzx eax, word [esp + 0x14]
movzx edi, word [esp + 0x4c]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
push dword [esp + 0x28]
push dword [esp + 0x38]
push dword [esp + 0x38]
push 0
push 0
push ebx
push esi
push dword [esp + 0xb8]
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0x64]
push dword [esp + 0xd8]
push dword [ebp + 0x18]
push eax
push dword [esp + 0x4c]
push edi
call fcn.00405f30
add esp, 0x4c
test eax, eax
je 0x405313
mov eax, dword [ebp + 8]
inc dword [eax + 0x10]
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov ecx, dword [esp + 4]
mov dword [eax + 4], ecx
mov eax, 1
jmp 0x405315