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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
mov esi, dword [ebp + 0x24]
mov edx, dword [ebp + 0x28]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], esi
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0xc], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
mov eax, dword [ebp + 0x20]
mov edi, 6
test eax, eax
js 0x405f1f
mov edi, eax
mov dword [esp + 4], ecx
mov dword [esp + 0x10], esi
mov eax, esi
or eax, edx
je 0x405f3b
mov esi, edi
and esi, 0x400
mov ax, 8
jmp 0x405f55
cmp dword [ebp + 0x14], 0
setne al
mov esi, edi
and esi, 0x400
sete cl
and cl, al
movzx eax, cl
shl eax, 3
test edi, 0x10000
mov dword [esp + 0x1c], edx
jne 0x405f69
movzx eax, ax
or eax, 0x800
mov dword [esp + 0x88], eax
and edi, 0xf
sete ah
test esi, esi
setne al
mov ecx, dword [ebx + 0x48]
mov dword [esp + 8], ecx
test ecx, ecx
je 0x406226
cmp dword [ebx + 0x14], 2
jne 0x406226
cmp dword [ebp + 0x14], 0
setne cl
cmp dword [ebp + 0x10], 0
sete dl
cmp dword [ebp + 0xc], 0
je 0x406226
and dl, cl
jne 0x406226
cmp word [ebp + 0x1c], 0
setne cl
cmp dword [ebp + 0x18], 0
sete dl
test dl, cl
jne 0x406226
cmp edi, 0xb
jae 0x406226
mov ecx, dword [esp + 8]
cmp dword [ecx + 0x34], 0
mov ecx, dword [ebx + 0x10]
je 0x405ffb
xor ebx, ebx
cmp ecx, 0xffffffff
mov edx, dword [esp + 0x1c]
jne 0x40601a
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 2
jmp 0x40622f
mov edx, dword [esp + 0x1c]
test edx, edx
jne 0x40600d
mov bl, 1
cmp ecx, 0xffff
jne 0x40601a
mov ecx, dword [esp + 8]
mov dword [ecx + 0x34], 1
xor ebx, ebx
mov ecx, dword [esp + 0x10]
or ecx, edx
je 0x406035
test esi, esi
jne 0x406035
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x18
jmp 0x40622d
mov ecx, dword [ebp + 0xc]
cmp byte [ecx], 0x2f
je 0x4060b9
test esi, esi
je 0x406052
mov eax, dword [ebp + 0x2c]
mov dword [esp + 0x8c], eax
mov byte [esp + 0x34], 1
jmp 0x4060a7
or ah, al
mov byte [esp + 0x10], ah
mov eax, dword [ebp + 0x14]
push eax
push dword [ebp + 0x10]
push 0
call fcn.00403c50
add esp, 0xc
mov dword [esp + 0x8c], eax
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], 0
mov eax, 0
cmp ecx, 4
setb cl
jb 0x40608e
mov eax, edi
mov dword [esp + 0x1c], 0
or cl, byte [esp + 0x10]
mov byte [esp + 0x34], cl
mov ecx, dword [ebp + 0x14]
mov dword [esp + 0x10], ecx
mov edi, eax
push dword [ebp + 0xc]
call fcn.004093e0
add esp, 4
cmp eax, 0x10000
jb 0x4060c8
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x19
jmp 0x40622d
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
or ecx, eax
mov edx, 0
je 0x40610c
mov ecx, eax
mov eax, 0xfffffffe
lea edx, [eax + ecx]
inc edx
mov dword [esp + 0x18], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
and eax, edx
mov edx, eax
not edx
xor eax, ecx
and edx, ecx
add edx, edx
sub edx, eax
and edx, dword [esp + 0x18]
mov dword [esp + 0x28], edx
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], eax
movzx edx, word [ebp + 0x1c]
xor eax, eax
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x98], edx
add ecx, edx
setb al
mov dword [esp + 0x14], ecx
add ecx, dword [esp + 0x18]
adc eax, 0
add ecx, 0x4a
adc eax, 0
mov edx, 0xfffffffe
cmp edx, ecx
sbb dword [esp + 0x30], eax
jae 0x40615e
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0xf
jmp 0x40622d
mov ecx, dword [ebp + 0x38]
mov edx, 0x1c
test bl, bl
je 0x4061f1
mov eax, dword [esp + 0x2c]
mov ebx, eax
shr ebx, 0x1f
lea edx, [eax + eax]
add edx, dword [esp + 0x98]
adc ebx, 0
add edx, dword [esp + 0x28]
adc ebx, 0
mov eax, dword [ebp + 8]
add edx, dword [eax]
adc ebx, dword [eax + 4]
add edx, 0x4c
adc ebx, 0
mov dword [esp + 0x24], ebx
mov ebx, edx
and ebx, ecx
mov eax, ebx
shr eax, 0x1f
mov dword [esp + 0x30], eax
add ebx, ebx
xor edx, ecx
xor eax, eax
mov ecx, dword [ebp + 0x40]
add ecx, dword [esp + 0x18]
setb al
add ecx, edx
adc eax, dword [esp + 0x24]
add ecx, ebx
adc eax, dword [esp + 0x30]
add ecx, 0x16
adc eax, 0
lea ebx, [ecx + ecx]
and ebx, 0x20
xor edx, edx
add ebx, ecx
mov ecx, dword [esp + 0x2c]
adc eax, 0
je 0x4061f5
mov eax, dword [esp + 8]
mov dword [eax + 0x34], 1
mov edx, 0x1c
jmp 0x4061f5
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x30], 0
test ecx, ecx
je 0x406239
mov eax, dword [ebp + 0xc]
cmp byte [eax + ecx - 1], 0x2f
mov ebx, dword [ebp + 8]
jne 0x40623c
cmp dword [ebp + 0x14], 0
jne 0x406226
mov dword [esp + 0x30], 0x10
mov eax, dword [esp + 0x10]
or eax, dword [esp + 0x1c]
je 0x40623c
mov dword [ebx + 0x1c], 0x18
xor ebx, ebx
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebp + 8]
mov eax, dword [esp + 0x14]
add eax, edx
add eax, 0x2e
mov ecx, eax
mov edx, dword [esp + 0x18]
and ecx, edx
xor eax, edx
lea eax, [eax + ecx*2]
mov edx, dword [esp + 8]
cmp dword [edx + 8], eax
jae 0x406278
mov ecx, ebx
mov edx, dword [esp + 8]
push 1
push eax
call fcn.004091a0
mov edx, dword [esp + 0x10]
add esp, 8
test eax, eax
je 0x4063d0
mov eax, dword [edx + 0x14]
mov ecx, eax
and ecx, 1
xor eax, 1
lea eax, [eax + ecx*2]
cmp dword [edx + 0x18], eax
jae 0x4062a7
mov ecx, dword [esp + 8]
lea edx, [ecx + 0x10]
mov ecx, ebx
push 1
push eax
call fcn.004091a0
add esp, 8
test eax, eax
je 0x4063d0
movzx ebx, byte [esp + 0x34]
xor bl, 1
xor eax, eax
cmp dword [ebp + 0x14], 0
je 0x4062d6
test bl, bl
je 0x4062d6
push 0x4df40
push 1
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x28]
add esp, 0xc
test eax, eax
je 0x406404
mov byte [esp + 0x18], bl
mov dword [esp + 0x14], eax
mov ecx, dword [ebp + 8]
mov ebx, dword [esp + 0xc]
mov edx, ebx
push dword [esp + 0x28]
push dword [esp + 8]
call fcn.00406b10
add esp, 8
test eax, eax
je 0x4063dc
test esi, esi
setne al
add ebx, dword [esp + 0x28]
mov esi, dword [esp + 4]
adc esi, 0
mov dword [esp + 0xc], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], esi
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
or al, byte [esp + 0x18]
mov byte [esp + 0x28], al
movzx eax, al
shl eax, 3
mov dword [esp + 0x18], eax
mov eax, dword [esp + 8]
cmp dword [eax + 0x34], 0
je 0x4063f1
xor ebx, ebx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x10]
mov eax, 0
sbb eax, dword [esp + 0x1c]
jb 0x4063b1
xor eax, eax
mov ecx, dword [esp + 0xc]
mov edx, 0xfffffffe
cmp edx, ecx
sbb eax, esi
mov edx, esi
mov dword [esp + 0x24], 0
jae 0x406548
xor edx, edx
mov ecx, 0xfffffffe
cmp ecx, dword [esp + 0xc]
mov eax, 0
sbb eax, esi
jb 0x406501
xor eax, eax
jmp 0x406505
mov dword [ebx + 0x1c], 0x10
jmp 0x40622d
push dword [esp + 0x14]
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x2c]
add esp, 8
jmp 0x40622d
test esi, esi
je 0x406413
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x1d
jmp 0x40622d
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x10
jmp 0x40622d
mov dword [esp + 0x68], 0x4034b50
movzx eax, byte [esp + 0x28]
test al, al
je 0x406426
mov al, 0x14
mov byte [esp + 0x6c], al
mov ecx, dword [esp + 0x88]
movzx eax, cx
mov byte [esp + 0x6e], cl
mov byte [esp + 0x6f], ah
mov eax, dword [esp + 0x18]
mov byte [esp + 0x70], al
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 + 0x2c]
mov byte [esp + 0x82], bl
mov byte [esp + 0x83], bh
mov eax, dword [ebp + 0x38]
mov byte [esp + 0x84], al
mov byte [esp + 0x85], ah
lea eax, [esp + 0x68]
push 0x1e
push eax
push esi
push dword [esp + 0x18]
mov dword [esp + 0x14], esi
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x4068d6
mov eax, dword [esp + 0xc]
add eax, 0x1e
mov ecx, dword [esp + 4]
adc ecx, 0
push ebx
push dword [ebp + 0xc]
mov dword [esp + 0xc], ecx
push ecx
mov dword [esp + 0x18], eax
push eax
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x4068c9
mov ecx, dword [esp + 0xc]
add ecx, ebx
adc dword [esp + 4], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0
jmp 0x406673
lea eax, [esp + 0x40]
mov ebx, esi
cmp ecx, dword [esp + 0x10]
mov ecx, 0
sbb ecx, dword [esp + 0x1c]
jb 0x40651d
mov esi, 0
jmp 0x406521
lea esi, [esp + 0x38]
jae 0x406527
lea edx, [esp + 0x48]
lea ecx, [esp + 0xa0]
mov dword [esp + 0x24], ecx
push eax
push esi
call fcn.00406bb0
add esp, 8
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov esi, ebx
mov ebx, eax
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov dword [esp + 0x1c], ebx
mov eax, dword [ebp + 0x38]
lea edx, [ebx + eax]
mov dword [esp + 0x68], 0x4034b50
movzx eax, byte [esp + 0x28]
test al, al
je 0x40656d
mov al, 0x14
mov byte [esp + 0x6c], al
mov byte [esp + 0x6d], 0
movzx ebx, word [esp + 0x88]
mov byte [esp + 0x6e], bl
mov byte [esp + 0x6f], bh
mov ebx, dword [esp + 0x18]
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 + 0x2c]
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 dword [esp + 0x10]
push ecx
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, 0x1e
jne 0x4068d6
mov ecx, esi
mov esi, dword [esp + 0xc]
add esi, 0x1e
mov eax, dword [esp + 4]
adc eax, 0
push ebx
push dword [ebp + 0xc]
mov dword [esp + 0xc], eax
push eax
push esi
push dword [ecx + 0x44]
call dword [ecx + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x4066e8
add esi, ebx
mov edx, dword [esp + 4]
adc edx, 0
cmp dword [esp + 0x24], 0
mov ecx, esi
mov dword [esp + 4], edx
je 0x40666b
lea eax, [esp + 0xa0]
mov ebx, dword [esp + 0x1c]
push ebx
push eax
push edx
push ecx
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
mov esi, ecx
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x4068ba
add esi, ebx
adc dword [esp + 4], 0
mov eax, dword [ebp + 0x38]
mov ecx, esi
jmp 0x406676
mov dword [esp + 0x24], 0
mov eax, dword [ebp + 0x38]
test eax, eax
mov dword [esp + 0xc], ecx
je 0x4066a6
push eax
push dword [ebp + 0x34]
push dword [esp + 0xc]
push ecx
mov esi, dword [ebp + 8]
push dword [esi + 0x44]
mov ebx, eax
call dword [esi + 0x3c]
add esp, 0x14
cmp eax, ebx
jne 0x4068d6
add dword [esp + 0xc], ebx
adc dword [esp + 4], 0
cmp byte [esp + 0x34], 0
je 0x4066f4
mov esi, dword [ebp + 0x14]
push esi
push dword [ebp + 0x10]
push dword [esp + 0xc]
push dword [esp + 0x18]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x4066e8
mov ecx, esi
add dword [esp + 0xc], esi
adc dword [esp + 4], 0
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], 0
jmp 0x4067bd
push dword [esp + 0x14]
mov esi, dword [ebp + 8]
jmp 0x4068cd
cmp dword [ebp + 0x14], 0
je 0x4067bd
mov eax, dword [ebp + 8]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0xc]
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 ecx, dword [edi*4 + 0x445a54]
xor eax, eax
cmp edi, 4
adc eax, 0xffffffff
or eax, 0xffffbfff
mov edx, eax
and edx, 0x4000
xor edx, ecx
xor edx, 0x4000
not eax
and eax, ecx
or eax, edx
test edi, edi
jne 0x406758
or eax, 0x80000
lea ecx, [esp + 0x50]
push eax
push ecx
push 0x406c20
mov esi, dword [esp + 0x20]
push esi
call fcn.00405200
add esp, 0x10
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x9c], eax
lea eax, [esp + 0x9c]
push 4
push 0
push 0
push eax
push dword [ebp + 0x10]
push esi
call fcn.00403d70
add esp, 0x18
cmp eax, 1
jne 0x4068f7
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 + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
push dword [esp + 0x14]
mov eax, dword [ebp + 8]
push dword [eax + 0x34]
call dword [eax + 0x2c]
add esp, 8
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov esi, eax
mov dword [esp + 8], ecx
or eax, ecx
je 0x4068e2
mov dword [esp + 0x50], 0x8074b50
mov ecx, dword [esp + 0x8c]
mov byte [esp + 0x54], cl
mov byte [esp + 0x55], ch
mov eax, ecx
shr eax, 0x10
mov byte [esp + 0x56], al
mov eax, ecx
shr eax, 0x18
mov byte [esp + 0x57], al
mov ebx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x24], 0
je 0x406913
mov byte [esp + 0x58], bl
mov byte [esp + 0x59], bh
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x5a], al
mov eax, ecx
shr eax, 0x10
shr ebx, 0x18
mov byte [esp + 0x5b], bl
mov ebx, ecx
shr ebx, 0x18
mov byte [esp + 0x5c], cl
mov byte [esp + 0x5d], ch
mov byte [esp + 0x5e], al
mov byte [esp + 0x5f], bl
mov ecx, esi
mov byte [esp + 0x60], cl
mov byte [esp + 0x61], ch
mov eax, esi
shr eax, 0x10
mov byte [esp + 0x62], al
mov eax, esi
shr eax, 0x18
mov byte [esp + 0x63], al
mov dword [esp + 0x28], 0x38
mov dword [esp + 0x94], 0x30
mov ecx, 0x28
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x34], 0x17
mov eax, dword [esp + 8]
mov byte [esp + 0x23], al
mov dword [esp + 0x14], 0x16
mov dword [esp + 0x90], 0x15
mov edi, 0x14
jmp 0x406965
mov eax, dword [ebp + 8]
mov dword [eax + 0x1c], 0x13
jmp 0x40622d
push dword [esp + 0x14]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0x13
jmp 0x40622d
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
jmp 0x406a0d
push dword [esp + 0x14]
mov esi, dword [ebp + 8]
push dword [esi + 0x34]
call dword [esi + 0x2c]
add esp, 8
mov dword [esi + 0x1c], 0xc
jmp 0x40622d
test ecx, ecx
jne 0x4063f5
mov dword [esp + 0x58], ebx
mov dword [esp + 0x28], 0x18
mov dword [esp + 0x94], 0x10
mov ecx, 8
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x14], 0xe
mov eax, esi
mov byte [esp + 0x23], al
mov dword [esp + 0x90], 0xd
mov edi, 0xc
mov dword [esp + 0x10], 0x10
mov ebx, esi
mov eax, dword [esp + 8]
shrd ebx, eax, cl
shr eax, cl
movzx edx, byte [esp + 0x23]
mov byte [esp + edi + 0x50], dl
test cl, 0x20
jne 0x406980
mov eax, ebx
mov ebx, esi
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 8]
shrd ebx, edx, cl
mov edi, dword [esp + 0x90]
mov byte [esp + edi + 0x50], al
mov eax, edx
shr eax, cl
test cl, 0x20
jne 0x4069a6
mov eax, ebx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 8]
shrd esi, edx, cl
mov edi, dword [esp + 0x14]
mov byte [esp + edi + 0x50], al
shr edx, cl
test cl, 0x20
jne 0x4069c2
mov edx, esi
mov eax, dword [esp + 0x34]
mov byte [esp + eax + 0x50], dl
lea eax, [esp + 0x50]
mov esi, dword [esp + 0x10]
push esi
push eax
push dword [esp + 0xc]
push dword [esp + 0x18]
mov eax, dword [ebp + 8]
push dword [eax + 0x44]
call dword [eax + 0x3c]
add esp, 0x14
cmp eax, esi
jne 0x40622d
mov eax, dword [esp + 0x10]
add dword [esp + 0xc], eax
adc dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
cmp dword [esp + 0x24], 0
je 0x406a7c
xor edx, edx
mov eax, 0xfffffffe
cmp eax, dword [esp + 0x40]
mov eax, 0
sbb eax, dword [esp + 0x44]
jb 0x406a2e
xor ebx, ebx
jmp 0x406a32
lea ebx, [esp + 0x40]
mov eax, 0xfffffffe
cmp eax, dword [esp + 8]
mov eax, 0
sbb eax, dword [esp + 0x10]
jb 0x406a4d
mov eax, 0
jmp 0x406a51
lea eax, [esp + 0x38]
jae 0x406a57
lea edx, [esp + 0x48]
lea ecx, [esp + 0xa0]
push ebx
push eax
call fcn.00406bb0
add esp, 8
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
movzx eax, word [esp + 0x88]
movzx edi, word [esp + 0x18]
movzx ebx, word [esp + 0x1c]
movzx esi, word [esp + 0x2c]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
push dword [ebp + 0x40]
push dword [ebp + 0x3c]
push dword [esp + 0x38]
push dword [esp + 0x50]
push dword [esp + 0x50]
push 0
push eax
push edi
push dword [esp + 0xac]
push dword [esp + 0x60]
push dword [esp + 0x60]
push dword [esp + 0x3c]
push dword [esp + 0x38]
push dword [esp + 0xcc]
push dword [ebp + 0x18]
push ebx
push dword [esp + 0x64]
push esi
call fcn.00406c70
add esp, 0x48
test eax, eax
je 0x40622d
mov eax, dword [ebp + 8]
inc dword [eax + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [eax], ecx
mov ecx, dword [esp + 4]
mov dword [eax + 4], ecx
mov ebx, 1
jmp 0x40622f