Function at 0x412130
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push 0xffffffffffffffff
push 0x4a8cd1
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x4ecba0]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4ecba0]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x28], ebx
call fcn.0046d74a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x41218b
push 0x80004005
call fcn.00402240
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov dword [esp + 0x148], ebx
call fcn.0046d74a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4121bc
push 0x80004005
call fcn.00402240
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x148], 1
call fcn.0046d74a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4121ee
push 0x80004005
call fcn.00402240
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x80
push 0xff
push 0x4f0dd0
mov byte [esp + 0x154], 2
call fcn.0048f850
push 0x80
push 0xff
push 0x4f0d50
call fcn.0048f850
mov esi, dword [0x4ee1d0]
mov ecx, dword [esi + 0x9688]
mov edi, dword [ecx - 0xc]
add esi, 0x9688
mov eax, ecx
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add esp, 0x18
or eax, ecx
jge 0x412262
push ebx
mov ecx, esi
call fcn.00402550
mov esi, dword [esi]
push edi
push esi
push 0x4f0dd4
call fcn.00490450
mov esi, dword [0x4ee1d0]
mov eax, dword [esi + 0x9688]
mov ecx, dword [eax - 8]
add esi, 0x9688
add esp, 0xc
cmp eax, ebx
jne 0x412290
xor eax, eax
jmp 0x4122a2
push ecx
push eax
call fcn.004900d3
add esp, 8
cmp eax, ebx
jl 0x412606
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x412606
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
mov byte [eax + edx], 0
mov esi, dword [0x4ee1d0]
mov eax, dword [esi + 0x968c]
mov edi, dword [eax - 0xc]
add esi, 0x968c
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, ecx
jge 0x4122e5
push ebx
mov ecx, esi
call fcn.00402550
mov esi, dword [esi]
push edi
push esi
push 0x4f0dfc
call fcn.00490450
mov esi, dword [0x4ee1d0]
mov eax, dword [esi + 0x968c]
mov ecx, dword [eax - 8]
add esi, 0x968c
add esp, 0xc
cmp eax, ebx
jne 0x412313
xor eax, eax
jmp 0x412325
push ecx
push eax
call fcn.004900d3
add esp, 8
cmp eax, ebx
jl 0x412606
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x412606
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
mov byte [eax + ecx], 0
lea ecx, [esp + 0x1c]
call fcn.004024f0
lea ecx, [esp + 0x14]
call fcn.004024f0
movzx eax, byte [esp + 0x150]
imul eax, eax, 0x638
mov ebp, 0x59
mov dword [esp + 0x24], eax
mov edx, dword [0x4ee1d0]
mov eax, dword [esp + 0x24]
add eax, edx
movzx ecx, byte [eax + ebp + 0x9aec]
push ecx
lea edx, [esp + 0x20]
push str._02X
push edx
call fcn.00402d80
mov ecx, dword [esp + 0x28]
mov eax, dword [ecx - 0xc]
add esp, 0xc
cmp eax, 1
jl 0x412606
mov cl, byte [ecx + 1]
mov byte [esp + 0x1b], cl
test eax, eax
jl 0x412606
mov edx, dword [esp + 0x1c]
mov bl, byte [edx]
mov edx, dword [esp + 0x14]
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, ecx
jge 0x4123d7
push esi
lea ecx, [esp + 0x18]
call fcn.00402550
mov edx, dword [esp + 0x14]
mov byte [edi + edx], bl
test esi, esi
jl 0x412606
cmp esi, dword [edx - 8]
jg 0x412606
mov dword [edx - 0xc], esi
mov byte [esi + edx], 0
mov edi, dword [edx - 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, ecx
jge 0x412417
push esi
lea ecx, [esp + 0x18]
call fcn.00402550
mov edx, dword [esp + 0x14]
mov al, byte [esp + 0x1b]
mov byte [edi + edx], al
test esi, esi
jl 0x412606
cmp esi, dword [edx - 8]
jg 0x412606
dec ebp
cmp ebp, 0x54
mov dword [edx - 0xc], esi
mov byte [esi + edx], 0
jge 0x412362
mov ecx, dword [esp + 0x14]
mov esi, dword [ecx - 0xc]
mov edi, 1
cmp esi, edi
jge 0x412456
mov edi, esi
test esi, esi
jle 0x4124a4
mov edx, dword [esp + 0x14]
sub esi, edi
cmp dword [edx - 4], 1
lea ebx, [esi + 1]
jle 0x412474
mov eax, edx
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x18]
call fcn.004023b0
mov ebp, dword [esp + 0x14]
push ebx
add edi, ebp
push edi
push ebx
push ebp
call fcn.0048eb4d
push eax
call fcn.004042c0
add esp, 0x14
test esi, esi
jl 0x412606
cmp esi, dword [ebp - 8]
jg 0x412606
mov dword [ebp - 0xc], esi
mov byte [esi + ebp], 0
mov esi, dword [esp + 0x14]
push str.00000000000
push esi
call fcn.00490054
add esp, 8
test eax, eax
setne al
test al, al
je 0x41253c
push str.FFFFFFFFFFF
push esi
call fcn.00490054
add esp, 8
test eax, eax
setne al
test al, al
je 0x41253c
push str.CCDDEEFF321
push esi
call fcn.00490054
add esp, 8
test eax, eax
setne al
test al, al
je 0x41253c
push str.AAAABBBBCCC
push esi
call fcn.00490054
add esp, 8
test eax, eax
setne al
test al, al
je 0x41253c
push esi
push 0x28d5
push str.CMPToolDlg::bSetUSB4DeviceConfigurationByGUI
push str._s:_d:_kpcid__s_
call fcn.0044b650
mov ecx, dword [0x4ee1d0]
add esp, 0x10
lea edx, [esp + 0x14]
add ecx, 0x9690
push edx
call fcn.0040bbf0
mov ebp, 1
jmp 0x4125f2
mov ecx, dword [0x4ee1d0]
add ecx, 0x9690
mov dword [0x4ee60c], 5
call fcn.004024f0
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x2c]
cdq
mov ecx, 0xa
idiv ecx
movzx ecx, word [esp + 0x32]
movzx eax, word [esp + 0x2e]
push ecx
push eax
push edx
mov edx, dword [0x4ee1d0]
add edx, 0x9690
push str._X_X_02X
push edx
call fcn.00402d80
push 0
call fcn.0048f656
push eax
call fcn.00490a5c
mov esi, 7
add esp, 0x1c
lea ebp, [esi - 6]
jmp 0x4125b0
call fcn.00490a6e
and eax, 0x8000000f
jns 0x4125c1
dec eax
or eax, 0xfffffff0
inc eax
push eax
lea eax, [esp + 0x24]
push 0x4ba3e4
push eax
call fcn.00402d80
mov edx, dword [esp + 0x2c]
mov eax, dword [edx - 0xc]
mov ecx, dword [0x4ee1d0]
add esp, 0xc
push eax
add ecx, 0x9690
push edx
call fcn.0040ba70
sub esi, ebp
jne 0x4125b0
mov esi, dword [0x4ee1d0]
mov eax, dword [esi + 0x9690]
mov ecx, dword [eax - 0xc]
cmp ecx, 3
jge 0x412610
push 0x80070057
call fcn.00402240
movsx ecx, byte [eax + 3]
lea eax, [ecx - 0x30]
cmp eax, 9
jbe 0x41261f
lea eax, [ecx - 0x37]
mov ecx, dword [esi + 0x9690]
mov edx, dword [ecx - 0xc]
cmp edx, 4
jge 0x412637
push 0x80070057
call fcn.00402240
movsx ecx, byte [ecx + 4]
lea edx, [ecx - 0x30]
cmp edx, 9
jbe 0x412646
lea edx, [ecx - 0x37]
shl al, 4
add al, dl
mov byte [0x4f0e27], al
mov eax, dword [esi + 0x9690]
cmp dword [eax - 0xc], 5
jge 0x412666
push 0x80070057
call fcn.00402240
movsx ecx, byte [eax + 5]
lea eax, [ecx - 0x30]
cmp eax, 9
jbe 0x412675
lea eax, [ecx - 0x37]
mov ecx, dword [esi + 0x9690]
cmp dword [ecx - 0xc], 6
jge 0x41268b
push 0x80070057
call fcn.00402240
movsx ecx, byte [ecx + 6]
lea edx, [ecx - 0x30]
cmp edx, 9
jbe 0x41269a
lea edx, [ecx - 0x37]
shl al, 4
add al, dl
mov byte [0x4f0e26], al
mov eax, dword [esi + 0x9690]
cmp dword [eax - 0xc], 7
jge 0x4126ba
push 0x80070057
call fcn.00402240
movsx ecx, byte [eax + 7]
lea eax, [ecx - 0x30]
cmp eax, 9
jbe 0x4126c9
lea eax, [ecx - 0x37]
mov ecx, dword [esi + 0x9690]
cmp dword [ecx - 0xc], 8
jge 0x4126df
push 0x80070057
call fcn.00402240
movsx ecx, byte [ecx + 8]
lea edx, [ecx - 0x30]
cmp edx, 9
jbe 0x4126ee
lea edx, [ecx - 0x37]
shl al, 4
add al, dl
mov byte [0x4f0e25], al
mov eax, dword [esi + 0x9690]
cmp dword [eax - 0xc], 9
jge 0x41270e
push 0x80070057
call fcn.00402240
movsx ecx, byte [eax + 9]
lea eax, [ecx - 0x30]
cmp eax, 9
jbe 0x41271d
lea eax, [ecx - 0x37]
mov ecx, dword [esi + 0x9690]
cmp dword [ecx - 0xc], 0xa
jge 0x412733
push 0x80070057
call fcn.00402240
movsx ecx, byte [ecx + 0xa]
lea edx, [ecx - 0x30]
cmp edx, 9
jbe 0x412742
lea edx, [ecx - 0x37]
shl al, 4
add al, dl
mov byte [0x4f0e24], al
mov eax, dword [esi + 0x9690]
cmp dword [eax - 0xc], 0
jge 0x412762
push 0x80070057
call fcn.00402240
movsx eax, byte [eax]
lea ecx, [eax - 0x30]
cmp ecx, 9
jbe 0x412770
lea ecx, [eax - 0x37]
movzx eax, byte [0x4efe48]
cmp eax, 3
ja case.0x41277c.3
jmp dword [eax*4 + 0x412e40]
xor dl, dl
jmp 0x412791
mov dl, 0x10
jmp 0x412791
mov dl, 0x20
jmp 0x412791
mov dl, 0x30
mov al, byte [0x4efe50]
add al, al
add al, byte [0x4efe4c]
shl al, 6
add cl, al
add cl, dl
mov byte [0x4f0e29], cl
mov eax, dword [esi + 0x9690]
cmp dword [eax - 0xc], ebp
jge 0x4127c0
push 0x80070057
call fcn.00402240
movsx eax, byte [eax + 1]
lea ecx, [eax - 0x30]
cmp ecx, 9
ja 0x4127d0
mov eax, ecx
jmp 0x4127d3
add eax, 0xffffffc9
mov ecx, dword [esi + 0x9690]
cmp dword [ecx - 0xc], 2
jge 0x4127e9
push 0x80070057
call fcn.00402240
movsx edx, byte [ecx + 2]
lea ecx, [edx - 0x30]
cmp ecx, 9
jbe 0x4127f8
lea ecx, [edx - 0x37]
shl al, 4
add al, cl
mov cl, byte [0x4efe54]
sub cl, 4
mov byte [0x4f0e28], al
mov byte [0x4f0e2a], cl
mov eax, dword [esi + 0x9694]
add esi, 0x9694
sub eax, 0x10
mov ecx, ebp
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, ecx
jge 0x412835
push 0
mov ecx, esi
call fcn.00402550
mov esi, dword [esi]
push 0x4f0e2c
push 0x4ba3e4
push esi
call fcn.00490428
mov esi, dword [0x4ee1d0]
mov eax, dword [esi + 0x9694]
mov ecx, dword [eax - 8]
add esi, 0x9694
add esp, 0xc
test eax, eax
je 0x412875
push ecx
push eax
call fcn.004900d3
add esp, 8
test eax, eax
jl 0x412606
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x412606
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
mov byte [eax + edx], 0
mov esi, dword [0x4ee1d0]
mov eax, dword [esi + 0x9698]
add esi, 0x9698
sub eax, 0x10
mov ecx, ebp
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, ecx
jge 0x4128b3
push 0
mov ecx, esi
call fcn.00402550
mov esi, dword [esi]
push 0x4f0e2e
push 0x4ba3e4
push esi
call fcn.00490428
mov esi, dword [0x4ee1d0]
mov eax, dword [esi + 0x9698]
mov ecx, dword [eax - 8]
add esi, 0x9698
add esp, 0xc
test eax, eax
je 0x4128f3
push ecx
push eax
call fcn.004900d3
add esp, 8
test eax, eax
jl 0x412606
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x412606
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
mov byte [eax + ecx], 0
mov esi, dword [0x4ee1d0]
mov eax, dword [esi + 0x969c]
add esi, 0x969c
sub eax, 0x10
mov ecx, ebp
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, ecx
jge 0x412931
push 0
mov ecx, esi
call fcn.00402550
mov esi, dword [esi]
push 0x4f0e30
push 0x4ba3e4
push esi
call fcn.00490428
mov esi, dword [0x4ee1d0]
mov eax, dword [esi + 0x969c]
mov ecx, dword [eax - 8]
add esi, 0x969c
add esp, 0xc
test eax, eax
je 0x412971
push ecx
push eax
call fcn.004900d3
add esp, 8
test eax, eax
jl 0x412606
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x412606
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
mov byte [eax + edx], 0
mov esi, dword [0x4ee1d0]
mov eax, dword [esi + 0x96a0]
add esi, 0x96a0
sub eax, 0x10
mov ecx, ebp
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, ecx
jge 0x4129af
push 0
mov ecx, esi
call fcn.00402550
mov esi, dword [esi]
push 0x4f0e34
push 0x4ba3e4
push esi
call fcn.00490428
mov esi, dword [0x4ee1d0]
mov eax, dword [esi + 0x96a0]
mov ecx, dword [eax - 8]
add esi, 0x96a0
add esp, 0xc
test eax, eax
je 0x4129ef
push ecx
push eax
call fcn.004900d3
add esp, 8
test eax, eax
jl 0x412606
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x412606
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
mov byte [eax + ecx], 0
mov esi, dword [0x4ee1d0]
mov eax, dword [esi + 0x96a4]
cmp dword [eax - 0xc], 0
jge 0x412a1f
push 0x80070057
call fcn.00402240
movsx ecx, byte [eax]
lea eax, [ecx - 0x30]
cmp eax, 9
jbe 0x412a2d
lea eax, [ecx - 0x37]
mov ecx, dword [esi + 0x96a4]
cmp dword [ecx - 0xc], ebp
jge 0x412a42
push 0x80070057
call fcn.00402240
movsx ecx, byte [ecx + 1]
lea edx, [ecx - 0x30]
cmp edx, 9
jbe 0x412a51
lea edx, [ecx - 0x37]
shl al, 4
add al, dl
mov byte [0x4f0e36], al
mov eax, dword [esi + 0x96a8]
cmp dword [eax - 0xc], 0
jge 0x412a71
push 0x80070057
call fcn.00402240
movsx eax, byte [eax]
lea ecx, [eax - 0x30]
cmp ecx, 9
ja 0x412a80
mov eax, ecx
jmp 0x412a83
add eax, 0xffffffc9
mov ecx, dword [esi + 0x96a8]
cmp dword [ecx - 0xc], ebp
jge 0x412a98
push 0x80070057
call fcn.00402240
movsx edx, byte [ecx + 1]
lea ecx, [edx - 0x30]
cmp ecx, 9
jbe 0x412aa7
lea ecx, [edx - 0x37]
shl al, 4
add al, cl
mov byte [0x4f0e37], al
mov eax, dword [esi + 0x96ac]
add esi, 0x96ac
sub eax, 0x10
mov ecx, ebp
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, ecx
jge 0x412ad5
push 0
mov ecx, esi
call fcn.00402550
mov esi, dword [esi]
push 0x4f0e3c
push 0x4ba3e4
push esi
call fcn.00490428
mov esi, dword [0x4ee1d0]
mov eax, dword [esi + 0x96ac]
mov ecx, dword [eax - 8]
add esi, 0x96ac
add esp, 0xc
test eax, eax
je 0x412b15
push ecx
push eax
call fcn.004900d3
add esp, 8
test eax, eax
jl 0x412606
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x412606
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
mov byte [eax + edx], 0
mov esi, dword [0x4ee1d0]
mov eax, dword [esi + 0x96b0]
add esi, 0x96b0
sub eax, 0x10
mov ecx, ebp
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, ecx
jge 0x412b53
push 0
mov ecx, esi
call fcn.00402550
mov esi, dword [esi]
push 0x4f0e3e
push 0x4ba3e4
push esi
call fcn.00490428
mov esi, dword [0x4ee1d0]
mov eax, dword [esi + 0x96b0]
mov ecx, dword [eax - 8]
add esi, 0x96b0
add esp, 0xc
test eax, eax
je 0x412b93
push ecx
push eax
call fcn.004900d3
add esp, 8
test eax, eax
jl 0x412606
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x412606
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
mov byte [eax + ecx], 0
mov esi, dword [0x4ee1d0]
or eax, 0xffffffff
mov word [0x4f0e41], ax
mov byte [0x4f0e43], al
mov eax, dword [esi + 0x96b4]
cmp dword [eax - 0xc], 0
jge 0x412bd1
push 0x80070057
call fcn.00402240
movsx eax, byte [eax]
lea ecx, [eax - 0x30]
cmp ecx, 9
ja 0x412be0
mov eax, ecx
jmp 0x412be3
add eax, 0xffffffc9
mov ecx, dword [esi + 0x96b4]
cmp dword [ecx - 0xc], ebp
jge 0x412bf8
push 0x80070057
call fcn.00402240
movsx edx, byte [ecx + 1]
lea ecx, [edx - 0x30]
cmp ecx, 9
jbe 0x412c07
lea ecx, [edx - 0x37]
shl al, 4
add al, cl
mov byte [0x4f0e40], al
mov eax, dword [esi + 0x96bc]
add esi, 0x96bc
sub eax, 0x10
mov ecx, ebp
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, ecx
jge 0x412c35
push 0
mov ecx, esi
call fcn.00402550
mov esi, dword [esi]
push 0x4f0e44
push 0x4ba3e4
push esi
call fcn.00490428
mov esi, dword [0x4ee1d0]
mov eax, dword [esi + 0x96bc]
mov ecx, dword [eax - 8]
add esi, 0x96bc
add esp, 0xc
test eax, eax
je 0x412c75
push ecx
push eax
call fcn.004900d3
add esp, 8
test eax, eax
jl 0x412606
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x412606
mov dword [ecx - 0xc], eax
mov edx, dword [esi]
mov byte [eax + edx], 0
mov esi, dword [0x4ee1d0]
mov eax, dword [esi + 0x96c0]
add esi, 0x96c0
sub eax, 0x10
mov ecx, ebp
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
or eax, ecx
jge 0x412cb3
push 0
mov ecx, esi
call fcn.00402550
mov esi, dword [esi]
push 0x4f0e46
push 0x4ba3e4
push esi
call fcn.00490428
mov esi, dword [0x4ee1d0]
mov eax, dword [esi + 0x96c0]
mov ecx, dword [eax - 8]
add esi, 0x96c0
add esp, 0xc
test eax, eax
je 0x412cf3
push ecx
push eax
call fcn.004900d3
add esp, 8
test eax, eax
jl 0x412606
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x412606
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
mov byte [eax + ecx], 0
mov ebx, dword [0x4ee1d0]
mov dl, byte [ebx + 0x9738]
mov al, byte [esp + 0x150]
push 0xff
lea ecx, [esp + 0x40]
push 0
push ecx
mov byte [0x4f0e4c], dl
mov byte [0x4f0e4d], al
mov byte [0x4f0e4e], 0xa5
call fcn.0048f850
mov edx, dword [esp + 0x34]
mov ecx, 0x20
mov esi, 0x4f0dd0
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
add esp, 0xc
lea eax, [esp + 0x40]
mov ecx, 0x7b
lea ecx, [ecx]
movzx esi, byte [eax]
add edx, esi
add eax, ebp
sub ecx, ebp
jne 0x412d60
mov eax, dword [esp + 0x14]
mov byte [0x4f0e4f], dl
mov edx, dword [esp + 0x24]
mov ecx, 0x20
mov esi, 0x4f0dd0
mov edi, 0x4f0d50
rep movsd dword es:[edi], dword [esi]
lea edi, [edx + ebx + 0x9aec]
mov ecx, 0x20
mov esi, 0x4f0d50
add eax, 0xfffffff0
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0x148], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412dc1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x148], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412de9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x148], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x412e14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0048f35c
add esp, 0x138
ret 4