Function at 0x509250
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5caa67
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x62c7a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x630d0c], 0
je 0x5092a6
mov eax, dword [0x630ce0]
mov dword [0x614540], 0
mov dword [0x62f304], 0
mov dword [eax + 0x108], 2
movss xmm0, dword [0x62f9d8]
addss xmm0, dword [0x5d3048]
mov ebx, dword [sym.imp.WINMM.dll_timeGetTime]
mov byte [ebp - 0x38], 8
movss dword [0x62f9d8], xmm0
mov eax, dword [edi + 0x2bc]
test eax, eax
mov esi, dword [edi + 0x2b8]
cmovne esi, eax
mov eax, dword [0x630cac]
mov dword [ebp - 0x10], esi
cmp dword [eax + 0x294], 0
je 0x50933b
call ebx
mov ecx, dword [edi + 0x23e8]
add ecx, 0x3e8
cmp ecx, eax
jae 0x50933b
call ebx
mov dword [edi + 0x23e8], eax
mov eax, dword [0x630cac]
mov eax, dword [eax + 0x204]
mov dword [ebp - 0x37], eax
call fcn.00568dab
and eax, reloc.WS2_32.dll_closesocket
jns 0x509323
dec eax
or eax, 0xfffffffc
inc eax
mov ecx, dword [0x62f438]
lea edx, [ebp - 0x38]
push 0
push 0
mov byte [ebp - 0x33], al
mov eax, dword [ecx]
push edx
push 6
call dword [eax + 4]
mov ecx, dword [0x62f318]
mov byte [ebp - 0x30], 0x2a
call fcn.0045a100
mov ebx, eax
test ebx, ebx
je 0x509db1
mov ecx, ebx
call fcn.0044c8d0
cmp eax, 5
ja case.default.0x509364
jmp dword [eax*4 + 0x50a018]
mov eax, dword [ebx + 0x12c]
mov edx, dword [0x62f9f0]
cmp eax, 0x57
jne 0x5093bf
mov eax, dword [edi + 0x2ec]
cmp dword [eax + 0x1f8], 0
jne 0x509394
test byte [0x625818], 0x80
jne 0x5093c4
mov ecx, dword [0x62f148]
mov eax, dword [ebx + 0x12c]
cmp eax, 0x53
jne 0x5093d9
mov eax, dword [edi + 0x2ec]
cmp dword [eax + 0x1f8], 0
jne 0x5093eb
test byte [0x625818], 0x80
jne 0x5093de
jmp 0x5093eb
cmp eax, 0x26
jne 0x509394
test edx, edx
jne 0x509394
mov ecx, dword [0x62f148]
or ecx, 1
mov dword [0x62f148], ecx
jmp 0x50939a
cmp eax, 0x28
jne 0x5093eb
test edx, edx
jne 0x5093eb
or ecx, 2
mov dword [0x62f148], ecx
mov eax, dword [ebx + 0x12c]
cmp eax, 0x44
jne 0x509410
mov eax, dword [edi + 0x2ec]
cmp dword [eax + 0x1f8], 0
jne 0x509422
test byte [0x625818], 0x80
jne 0x509415
jmp 0x509422
cmp eax, 0x27
jne 0x509422
test edx, edx
jne 0x509422
or ecx, 4
mov dword [0x62f148], ecx
mov eax, dword [ebx + 0x12c]
cmp eax, 0x41
jne 0x509447
mov eax, dword [edi + 0x2ec]
cmp dword [eax + 0x1f8], 0
jne 0x509459
test byte [0x625818], 0x80
jne 0x50944c
jmp 0x509459
cmp eax, 0x25
jne 0x509459
test edx, edx
jne 0x509459
or ecx, 8
mov dword [0x62f148], ecx
cmp dword [ebx + 0x12c], 0x68
jne 0x50946b
or ecx, 0x40
mov dword [0x62f148], ecx
cmp dword [ebx + 0x12c], 0x62
jne 0x509480
or ecx, 0x80
mov dword [0x62f148], ecx
cmp dword [ebx + 0x12c], 0x10
jne 0x509492
or edx, 1
mov dword [0x62f9f0], edx
cmp dword [ebx + 0x12c], 0x11
jne 0x5094a4
or edx, 2
mov dword [0x62f9f0], edx
mov eax, dword [ebx + 0x12c]
movzx eax, ax
mov ecx, eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x12c]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
cmp eax, 0x27
jne 0x5094fe
test dl, 1
je 0x5094e2
mov eax, dword [esi]
push ecx
push 0
push 0xb
mov ecx, esi
call dword [eax + 0x28]
jmp 0x509d90
test dl, 2
je 0x50957d
push dword [ebp - 0x14]
mov eax, dword [esi]
mov ecx, esi
push 0
push 0xf
call dword [eax + 0x28]
jmp 0x509d90
cmp eax, 0x25
jne 0x509533
test dl, 1
je 0x50951b
push dword [ebp - 0x18]
mov eax, dword [esi]
mov ecx, esi
push 0
push 0xa
call dword [eax + 0x28]
jmp 0x509d90
test dl, 2
je 0x50957d
push dword [ebp - 0x1c]
mov eax, dword [esi]
mov ecx, esi
push 0
push 0xe
call dword [eax + 0x28]
jmp 0x509d90
cmp eax, 0x26
jne 0x50957d
test dl, 1
je 0x50957d
push dword [ebp - 0x20]
mov eax, dword [esi]
mov ecx, esi
push 0
push 0xc
call dword [eax + 0x28]
mov eax, dword [edi + 0x2ec]
cmp dword [eax + 0x1f8], 0
jne 0x509d90
mov dword [eax + 0x1f8], 1
mov eax, dword [edi + 0x2ec]
mov dword [eax + 0x1fc], 1
jmp 0x509d90
cmp dword [ebx + 0x12c], 0x28
mov eax, dword [ebp - 0x24]
movzx ecx, ax
jne 0x5095a4
test dl, 1
je 0x5095a4
push dword [ebp - 0x28]
mov eax, dword [esi]
mov ecx, esi
push 0
push 0xd
call dword [eax + 0x28]
jmp 0x509d90
mov eax, dword [esi]
push ecx
push 0
push 6
mov ecx, esi
call dword [eax + 0x28]
jmp 0x509d90
cmp dword [ebx + 0x12c], 0x10
jne 0x5095c5
and dword [0x62f9f0], 0xfffffffe
cmp dword [ebx + 0x12c], 0x11
jne 0x5095d5
and dword [0x62f9f0], 0xfffffffd
mov ecx, dword [ebx + 0x12c]
cmp ecx, 0x57
jne 0x5095f4
mov eax, dword [edi + 0x2ec]
cmp dword [eax + 0x1f8], 0
je 0x5095fd
jmp 0x5096ab
cmp ecx, 0x26
jne 0x5096d9
cmp dword [0x630cb0], 0
jg 0x5096a6
cmp dword [0x62f9f0], 0
jne 0x5096a6
mov ecx, dword [0x62f148]
test cl, 1
je 0x50969b
mov esi, dword [sym.imp.WINMM.dll_timeGetTime]
call esi
mov ecx, dword [edi + 0x23e8]
add ecx, 0x3e8
cmp ecx, eax
jae 0x509695
call esi
mov dword [edi + 0x23e8], eax
mov eax, dword [0x630cac]
push ecx
mov ecx, edi
movss xmm0, dword [eax + 0x1f0]
movss dword [esp], xmm0
call fcn.00500740
mov ecx, dword [0x630cac]
lea edx, [ebp - 0x38]
push 0
push 0
push edx
mov ecx, dword [ecx + 0x204]
mov dword [ebp - 0x37], ecx
mov ecx, dword [0x62f438]
mov byte [ebp - 0x33], al
push 6
mov eax, dword [ecx]
call dword [eax + 4]
push 1
mov ecx, edi
call fcn.00503910
push 1
mov ecx, edi
call fcn.00503850
mov ecx, dword [0x62f148]
and ecx, 0xfffffffe
mov dword [0x62f148], ecx
jmp 0x5096df
cmp ecx, 0x57
jne 0x5096c3
mov eax, dword [edi + 0x2ec]
cmp dword [eax + 0x1f8], 0
jne 0x5096d9
test byte [0x625818], 0x80
jne 0x509695
cmp ecx, 0x26
jne 0x5096d9
mov ecx, dword [0x62f148]
and ecx, 0xfffffffe
mov dword [0x62f148], ecx
jmp 0x5096df
mov ecx, dword [0x62f148]
mov eax, dword [ebx + 0x12c]
cmp eax, 0x53
jne 0x509704
mov eax, dword [edi + 0x2ec]
cmp dword [eax + 0x1f8], 0
jne 0x509712
test byte [0x625818], 0x80
jne 0x509709
jmp 0x509712
cmp eax, 0x28
jne 0x509712
and ecx, 0xfffffffd
mov dword [0x62f148], ecx
mov eax, dword [ebx + 0x12c]
cmp eax, 0x44
jne 0x509737
mov eax, dword [edi + 0x2ec]
cmp dword [eax + 0x1f8], 0
jne 0x509745
test byte [0x625818], 0x80
jne 0x50973c
jmp 0x509745
cmp eax, 0x27
jne 0x509745
and ecx, 0xfffffffb
mov dword [0x62f148], ecx
mov eax, dword [ebx + 0x12c]
cmp eax, 0x41
jne 0x50976a
mov eax, dword [edi + 0x2ec]
cmp dword [eax + 0x1f8], 0
jne 0x509778
test byte [0x625818], 0x80
jne 0x50976f
jmp 0x509778
cmp eax, 0x25
jne 0x509778
and ecx, 0xfffffff7
mov dword [0x62f148], ecx
cmp dword [ebx + 0x12c], 0x68
jne 0x50978a
and ecx, 0xffffffbf
mov dword [0x62f148], ecx
cmp dword [ebx + 0x12c], 0x62
jne 0x50979f
and ecx, 0xffffff7f
mov dword [0x62f148], ecx
cmp dword [ebx + 0x12c], 0x65
jne 0x5097b7
mov eax, dword [0x630cac]
mov dword [eax + 0x1f8], 0xbea3d70a
mov al, byte [ebx + 0x128]
cmp al, 0xd
je 0x5097c9
cmp al, 0x27
jne 0x5098df
mov ecx, dword [edi + 0x2b8]
push 0x7c
add ecx, 0x140
call fcn.0044df00
mov ecx, dword [edi + 0x2b8]
push 0x7e
add ecx, 0x140
mov dword [ebp - 0x28], eax
call fcn.0044df00
mov ecx, dword [edi + 0x2b8]
mov esi, eax
push 0x9c
add ecx, 0x140
call fcn.0044df00
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x50984e
cmp dword [ecx + 0x1f8], 0
jne 0x5098df
mov dword [ecx + 0x1f8], 1
mov dword [ecx + 0x1fc], 1
mov ecx, ebx
mov eax, dword [ebx]
push 1
call dword [eax]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x50988f
cmp dword [esi + 0x1f8], 0
jne 0x5098df
mov dword [esi + 0x1f8], 1
mov ecx, ebx
mov dword [esi + 0x1fc], 1
mov eax, dword [ebx]
push 1
call dword [eax]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
je 0x5098cc
cmp dword [eax + 0x1f8], 0
jne 0x5098df
mov dword [eax + 0x1f8], 1
mov dword [eax + 0x1fc], 1
mov ecx, ebx
mov eax, dword [ebx]
push 1
call dword [eax]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x2ec]
cmp dword [eax + 0x1f8], 0
je 0x509f2b
cmp byte [ebx + 0x128], 0x66
jne 0x509908
mov ecx, edi
call fcn.00508090
test eax, eax
jne 0x509908
mov ecx, dword [0x630cac]
cmp dword [ecx + 0x288], eax
sete al
mov dword [ecx + 0x288], eax
cmp byte [ebx + 0x128], 0x6d
jne 0x509938
mov ecx, edi
call fcn.00508090
test eax, eax
jne 0x509938
mov eax, dword [edi + 0x2414]
inc eax
mov dword [edi + 0x2414], eax
cmp eax, 2
jle 0x509938
mov dword [edi + 0x2414], 0
cmp dword [ebx + 0x12c], 0x75
jne 0x509961
mov ecx, edi
call fcn.00508090
test eax, eax
jne 0x509961
mov ecx, dword [0x630cac]
cmp dword [ecx + 0x294], eax
sete al
mov dword [ecx + 0x294], eax
cmp dword [ebx + 0x12c], 0x71
jne 0x5099b4
mov ecx, edi
call fcn.00508090
test eax, eax
jne 0x5099b4
mov ecx, edi
mov dword [edi + 0x23cc], eax
call fcn.00503d60
push 0x5d2cf8
push str.tipInfo.dat
call fcn.00569402
mov esi, eax
add esp, 8
test esi, esi
je 0x5099b4
push dword [edi + 0x23cc]
push 0x5e1150
push esi
call fcn.0043d350
push esi
call fcn.00569114
add esp, 0x10
cmp byte [ebx + 0x128], 0x1b
jne 0x5099c4
mov ecx, edi
call fcn.00500360
cmp byte [ebx + 0x128], 0x31
je 0x5099d6
cmp dword [ebx + 0x12c], 0x2d
jne 0x5099ed
mov ecx, edi
call fcn.00508090
test eax, eax
jne 0x5099ed
push 0xc8
mov ecx, edi
call fcn.00503630
cmp byte [ebx + 0x128], 0x33
je 0x5099ff
cmp dword [ebx + 0x12c], 0x21
jne 0x509a16
mov ecx, edi
call fcn.00508090
test eax, eax
jne 0x509a16
push 0xc9
mov ecx, edi
call fcn.00503630
cmp byte [ebx + 0x128], 0x34
je 0x509a28
cmp dword [ebx + 0x12c], 0x22
jne 0x509a3f
mov ecx, edi
call fcn.00508090
test eax, eax
jne 0x509a3f
push 0xca
mov ecx, edi
call fcn.00503630
cmp byte [ebx + 0x128], 0x32
je 0x509a51
cmp dword [ebx + 0x12c], 0x24
jne 0x509a68
mov ecx, edi
call fcn.00508090
test eax, eax
jne 0x509a68
push 0xcb
mov ecx, edi
call fcn.00503630
test byte [0x625818], 0x10
je 0x509a7a
test byte [0x62f9f0], 2
je 0x509ad7
cmp byte [ebx + 0x128], 0
jne 0x509ad7
xor esi, esi
mov ecx, edi
call fcn.00508090
test eax, eax
jne 0x509ad7
cmp esi, 0x54
jae 0x509ad7
mov eax, dword [esi + str.XOKHNBC12345678GD90:S]
cmp eax, dword [ebx + 0x12c]
jne 0x509acb
cmp byte [edi + 0x2444], 0
jne 0x509acb
mov ecx, dword [0x62f438]
lea edx, [ebp - 0x30]
push 0
push 0
mov dword [ebp - 0x2f], eax
mov eax, dword [ecx]
push edx
push 5
call dword [eax + 4]
mov ecx, edi
call fcn.00500200
add esi, 4
cmp byte [ebx + 0x128], 0
je 0x509a85
mov al, byte [ebx + 0x128]
cmp al, 0x2f
je 0x509ae5
cmp al, 0x3b
jne 0x509b42
mov ecx, edi
call fcn.00508090
test eax, eax
jne 0x509b42
mov ecx, dword [edi + 0x2b8]
push 0x7c
add ecx, 0x140
call fcn.0044df00
mov ecx, dword [edi + 0x2b8]
mov esi, eax
push 0x7e
add ecx, 0x140
call fcn.0044df00
mov ecx, dword [edi + 0x2b8]
push 0x9c
add ecx, 0x140
mov dword [ebp - 0x28], eax
call fcn.0044df00
test esi, esi
jne 0x509b42
cmp dword [ebp - 0x28], esi
jne 0x509b42
test eax, eax
je 0x509ec6
cmp byte [ebx + 0x128], 0x71
jne 0x509ba9
mov ecx, edi
call fcn.00508090
test eax, eax
jne 0x509ba9
mov ecx, dword [edi + 0x2b8]
push dword [edi + 0x2cc]
add ecx, 0x140
call fcn.0044dfd0
test eax, eax
je 0x509b91
mov byte [0x630cc5], 0
mov ecx, dword [edi + 0x2b8]
push dword [edi + 0x2cc]
add ecx, 0x140
call fcn.0044e210
jmp 0x509ba9
mov byte [0x630cc5], 1
mov ecx, dword [edi + 0x2b8]
push dword [edi + 0x2cc]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov esi, dword [ebp - 0x10]
mov ecx, esi
movzx eax, word [ebx + 0x12c]
push eax
push 0
mov edx, dword [esi]
push 7
call dword [edx + 0x28]
movsx ax, byte [ebx + 0x128]
mov ecx, esi
mov edx, dword [esi]
movzx eax, ax
push eax
push 0
push 8
call dword [edx + 0x28]
jmp 0x509d90
mov ecx, dword [edi + 0x2c4]
movzx eax, word [ebx + 0x10c]
push eax
push dword [ebx + 0x108]
mov edx, dword [ecx]
push 0
call dword [edx + 0x28]
test eax, eax
jne 0x509d90
movzx eax, word [ebx + 0x10c]
mov ecx, esi
mov edx, dword [esi]
push eax
push dword [ebx + 0x108]
push 0
call dword [edx + 0x28]
test eax, eax
jne 0x509d90
push eax
push ebx
mov ecx, edi
call fcn.00504060
test eax, eax
je 0x509d90
push 0xffffffffffffffff
push dword [ebx + 0x10c]
mov ecx, edi
push dword [ebx + 0x108]
push 0xffffffffffffffff
push 0xffffffffffffffff
call fcn.00508120
jmp 0x509d90
mov ecx, dword [edi + 0x2c4]
movzx eax, word [ebx + 0x10c]
push eax
push dword [ebx + 0x108]
mov edx, dword [ecx]
push 2
call dword [edx + 0x28]
test eax, eax
jne 0x509c82
movzx eax, word [ebx + 0x10c]
mov ecx, esi
mov edx, dword [esi]
push eax
push dword [ebx + 0x108]
push 2
call dword [edx + 0x28]
push 0
mov ecx, edi
call fcn.00503850
mov esi, dword [edi + 0x2b8]
mov dword [ebp - 0x10], esi
jmp 0x509d90
mov eax, dword [edi + 0x2bc]
test eax, eax
mov ecx, dword [edi + 0x2b8]
cmovne ecx, eax
movzx eax, word [ebx + 0x10c]
push eax
push dword [ebx + 0x108]
mov dword [ebp - 0x10], ecx
mov edx, dword [ecx]
push 1
call dword [edx + 0x28]
mov ecx, dword [0x62f318]
call fcn.00459f10
mov esi, dword [ebx + 0x108]
mov ecx, dword [0x62f318]
cdq
sub eax, edx
sar eax, 1
sub esi, eax
call fcn.00459f10
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, dword [0x5d3bb4]
movss dword [edi + 0x2400], xmm1
mov ecx, dword [0x62f318]
call fcn.00459f00
mov esi, dword [ebx + 0x10c]
mov ecx, dword [0x62f318]
cdq
sub eax, edx
sar eax, 1
sub esi, eax
call fcn.00459f00
movd xmm1, esi
cvtdq2ps xmm1, xmm1
mov esi, dword [ebp - 0x10]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, dword [0x5d3bb4]
movss dword [edi + 0x2404], xmm1
jmp 0x509d90
mov eax, dword [edi + 0x2bc]
test eax, eax
mov esi, dword [edi + 0x2b8]
cmovne esi, eax
movzx eax, word [ebx + 0x10c]
push eax
push dword [ebx + 0x108]
mov ecx, esi
mov dword [ebp - 0x10], esi
mov edx, dword [esi]
push 3
call dword [edx + 0x28]
mov dword [edi + 0x2400], 0
mov dword [edi + 0x2404], 0
test ebx, ebx
je 0x509d9c
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
mov ecx, dword [0x62f318]
call fcn.0045a100
mov ebx, eax
test ebx, ebx
jne 0x509354
mov eax, dword [edi + 0x2bc]
test eax, eax
mov edx, dword [0x62f318]
mov ebx, dword [edi + 0x2b8]
mov ecx, dword [edi + 0x2c4]
cmovne ebx, eax
movzx eax, word [edx + 0x2a69c]
push eax
push dword [edx + 0x2a698]
mov esi, dword [ecx]
push 4
call dword [esi + 0x28]
mov ecx, dword [0x62f318]
mov edx, dword [ebx]
movzx eax, word [ecx + 0x2a69c]
push eax
push dword [ecx + 0x2a698]
mov ecx, ebx
push 4
call dword [edx + 0x28]
movss xmm0, dword [edi + 0x2400]
ucomiss xmm0, dword [0x5d3044]
lahf
test ah, 0x44
jnp 0x509f40
mov ecx, dword [0x62f318]
call fcn.00459f10
mov ecx, dword [0x62f318]
cdq
sub eax, edx
sar eax, 1
mov esi, dword [ecx + 0x2a698]
sub esi, eax
call fcn.00459f10
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
mulss xmm1, dword [0x5d3bb4]
movss dword [edi + 0x2400], xmm1
mov ecx, dword [0x62f318]
call fcn.00459f00
mov ecx, dword [0x62f318]
cdq
sub eax, edx
sar eax, 1
mov esi, dword [ecx + 0x2a69c]
sub esi, eax
call fcn.00459f00
movd xmm1, esi
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, dword [edi + 0x2400]
mulss xmm1, dword [0x5d3bb4]
lahf
movss dword [edi + 0x2404], xmm1
test ah, 0x44
jp 0x509fe4
mov dword [edi + 0x2400], 0x3a83126f
jmp 0x509fe4
mov eax, dword [edi + 0x2ec]
push 0x5d3fdc
mov dword [eax + 0x1f8], 1
mov eax, dword [edi + 0x2ec]
mov dword [eax + 0x1fc], 1
mov ecx, dword [edi + 0x2ec]
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp byte [ebx + 0x128], 0x3b
jne 0x509f0f
mov ecx, dword [edi + 0x2ec]
push str._emote
mov eax, dword [ecx]
call dword [eax + 0x30]
mov eax, dword [ebx]
mov ecx, ebx
push 1
call dword [eax]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [eax + 0x1f8], 1
mov eax, dword [edi + 0x2ec]
jmp 0x5098a6
cmp dword [edi + 0x2bc], 0
jne 0x509fe4
cmp dword [edi + 0x23c0], 0
jne 0x509fe4
push pe_nt_image_headers32
call fcn.005596ac
add esp, 4
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x509f87
push str.LMB_UP
push 3
mov ecx, eax
call fcn.00457360
mov esi, eax
jmp 0x509f89
xor esi, esi
mov eax, dword [0x62f318]
mov ecx, edi
push 1
push esi
mov dword [ebp - 4], 0xffffffff
movq xmm0, qword [eax + 0x2a7f4]
movq qword [esi + 0x110], xmm0
mov eax, dword [eax + 0x2a7fc]
mov dword [esi + 0x118], eax
mov eax, dword [0x62f318]
movq xmm0, qword [eax + 0x2a800]
movq qword [esi + 0x11c], xmm0
mov eax, dword [eax + 0x2a808]
mov dword [esi + 0x124], eax
call fcn.00504060
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov edx, dword [0x62f318]
mov ecx, ebx
mov esi, dword [ebx]
movzx eax, word [edx + 0x2a69c]
push eax
push dword [edx + 0x2a698]
push 5
call dword [esi + 0x28]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret