Function at 0x4b4a70
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbd4
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax + 0x30]
push esi
mov esi, dword [ebp + 0x10]
push edi
xor eax, eax
xor edx, edx
cmp esi, edx
mov ecx, 0x20
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
mov ecx, 0x25e
lea edi, [esp + 0x268]
mov dword [esp + 0x48], edx
mov dword [esp + 0xc], edx
rep stosd dword es:[edi], eax
je 0x4b4cf7
cmp byte [esi], 0x3b
je 0x4b4c71
mov dword [esp + 0x268], esi
mov dword [esp + 0x24], 1
mov eax, dword [ebp + 0xc]
movsx ecx, word [eax]
imul ecx, ecx, 0x3c
add ecx, 0x50
push ecx
call fcn.00492000
mov edi, eax
mov eax, dword [0x588720]
add esp, 4
test eax, eax
mov dword [esp + 0x4c], edi
jne 0x4b4cee
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push ebx
mov dword [edi], edx
mov dword [edi + 4], eax
call fcn.0049f400
add esp, 4
test esi, esi
mov dword [edi + 0xc], eax
je 0x4b4b39
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
je 0x4b4b26
push esi
call fcn.0049d0c0
add esp, 4
test eax, eax
je 0x4b4b39
mov edx, dword [edi + 0xc]
mov eax, dword [ebp + 8]
push 1
push edx
push esi
push eax
call fcn.0049e560
add esp, 0x10
mov eax, dword [esp + 0x24]
test eax, eax
jle 0x4b4beb
lea ecx, [esp + 0x274]
mov edx, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x44], edx
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0x28]
push eax
add esi, 0xfffffff4
lea eax, [esp + 0x6c]
call fcn.004b4740
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x6c]
add esp, 4
test esi, esi
je 0x4b4bd1
mov edi, dword [esi + 4]
test edi, edi
jl 0x4b4ba3
lea eax, [esp + 0x68]
call fcn.004b4660
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 4]
mov edi, dword [ecx]
not eax
and edx, eax
mov dword [ecx + 4], edx
mov edx, dword [ecx + 8]
and edi, eax
and edx, eax
mov dword [ecx], edi
mov dword [ecx + 8], edx
mov esi, dword [esi + 8]
test esi, esi
jl 0x4b4bd1
mov edi, esi
lea eax, [esp + 0x68]
call fcn.004b4660
mov ecx, dword [esp + 0x28]
mov edi, dword [ecx + 4]
mov esi, dword [ecx]
mov edx, dword [ecx + 8]
not eax
and edi, eax
and esi, eax
and edx, eax
mov dword [ecx + 4], edi
mov dword [ecx], esi
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x44]
add ecx, 0x18
dec eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x44], eax
jne 0x4b4b56
mov eax, dword [ebp + 0xc]
mov edi, dword [esp + 0x4c]
xor ecx, ecx
cmp word [eax], cx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
jle 0x4b5083
add eax, 0x10
mov edx, edi
mov dword [esp + 0x44], eax
mov esi, eax
add edx, 0x14
mov dword [esp + 0x14], edx
mov eax, ecx
lea esp, [esp]
cmp eax, 0x20
jae 0x4b5083
mov edx, dword [esp + 0x68]
mov edi, dword [esi + 0xc]
xor ecx, ecx
test edx, edx
mov dword [esp + 0x60], edi
jle 0x4b4c4b
lea ebx, [ebx]
cmp dword [esp + ecx*4 + 0x6c], edi
je 0x4b4c65
inc ecx
cmp ecx, edx
jl 0x4b4c40
cmp ecx, edx
jne 0x4b4d00
cmp ecx, 0x1f
jae 0x4b4d00
inc edx
mov dword [esp + 0x68], edx
mov dword [esp + ecx*4 + 0x6c], edi
mov edx, 1
shl edx, cl
jmp 0x4b4d02
mov eax, dword [esi + 8]
cmp byte [eax], 0x3b
je 0x4b4c9b
mov ecx, dword [esi + 0xc]
push ecx
lea edx, [esp + 0x284]
push edx
push 0x64
mov dword [esp + 0x274], eax
call fcn.004b45d0
mov edi, eax
add esp, 0xc
inc edi
jmp 0x4b4cce
push eax
lea eax, [esp + 0x26c]
push eax
push 0x65
call fcn.004b45d0
mov ecx, dword [esi + 0xc]
mov edi, eax
push ecx
lea edx, [edi + edi*2]
lea eax, [esp + edx*8 + 0x278]
mov ecx, 0x65
push eax
sub ecx, edi
push ecx
call fcn.004b45d0
add esp, 0x18
add edi, eax
cmp edi, 0x65
mov dword [esp + 0x24], edi
jne 0x4b4acd
mov edx, dword [ebp + 8]
push 0x64
push str.WHERE_clause_too_complex___no_more_than__d_terms_allowed
push edx
call fcn.00492310
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x24], edx
jmp 0x4b4acd
xor edx, edx
mov ecx, dword [esi]
mov dword [esp + 0x40], ecx
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x14]
lea esi, [esp + eax*4 + 0x168]
mov dword [ecx + 8], 0xffffffff
lea ecx, [esp + eax*4 + 0x1e8]
lea eax, [esp + eax*4 + 0xe8]
mov dword [esp + 0x38], ecx
mov dword [ecx], 0xffffffff
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x5c], eax
mov dword [eax], 0xffffffff
xor eax, eax
test ecx, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x54], esi
mov dword [esi], 0xffffffff
jle 0x4b4dd2
lea esi, [esp + 0x278]
jmp 0x4b4d70
mov edi, dword [esp + 0x60]
jmp 0x4b4d70
movsx ecx, word [esi - 0xa]
cmp ecx, edi
mov edx, dword [esi - 0x10]
jne case.0x4b4da3.64
mov ecx, dword [edx + 8]
mov edi, dword [ecx + 0x28]
test edi, edi
jge case.0x4b4da3.64
mov ecx, dword [esi]
mov edi, ecx
and edi, dword [esp + 0x30]
cmp edi, ecx
jne case.0x4b4da3.64
movzx ecx, byte [edx]
add ecx, 0xffffffc1
cmp ecx, 8
ja case.0x4b4da3.64
movzx edx, byte [ecx + 0x4b5fdc]
jmp dword [edx*4 + 0x4b5fcc]
mov ecx, dword [esp + 0x54]
jmp 0x4b4dbc
mov edx, dword [esp + 0x38]
mov dword [edx], eax
jmp case.0x4b4da3.64
mov ecx, dword [esp + 0x5c]
mov dword [ecx], eax
mov ecx, dword [esp + 0x24]
inc eax
add esi, 0x18
cmp eax, ecx
jl 0x4b4d67
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0x54]
cmp dword [esi], 0
jl 0x4b4df1
mov eax, dword [esp + 0x30]
or eax, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov dword [edx + 4], 0
jmp 0x4b5052
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x10]
test eax, eax
mov dword [esp + 0x18], eax
je 0x4b5017
xor ecx, ecx
cmp dword [eax + 4], 0x20
mov edx, dword [esp + 0x24]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x54], ecx
jg 0x4b5002
cmp edx, ecx
jle 0x4b4f90
lea ecx, [esp + 0x278]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], edx
jmp 0x4b4e40
mov edx, dword [esp + 0x28]
mov esi, dword [edx - 0x10]
mov eax, dword [esi + 8]
mov edi, dword [ebp + 8]
push eax
push edi
mov dword [esp + 0x44], esi
call fcn.0049c9e0
add esp, 8
test eax, eax
mov dword [esp + 0x40], eax
jne 0x4b4e88
mov esi, dword [esi + 0xc]
test esi, esi
je 0x4b4e7c
push esi
push edi
call fcn.0049c9e0
add esp, 8
test eax, eax
mov dword [esp + 0x40], eax
jne 0x4b4e88
mov ecx, dword [edi]
mov edx, dword [ecx + 0x124]
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x28]
movsx ecx, word [eax - 0xa]
cmp ecx, dword [esp + 0x60]
jne case.0x4b4f33.64
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
mov esi, dword [esp + 0x30]
mov ecx, eax
and ecx, esi
cmp ecx, eax
jne case.0x4b4f33.64
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 8]
mov edi, dword [eax + 0x28]
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx + 8]
lea edx, [edi + edi*4]
mov dl, byte [ecx + edx*4 + 0x12]
mov ecx, dword [eax + 4]
xor esi, esi
test ecx, ecx
mov byte [esp + 0x58], dl
jle case.0x4b4f33.64
add eax, 0x2c
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x40]
cmp ecx, dword [edx]
jne 0x4b4f11
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x3c]
push eax
push ecx
call fcn.0049cb10
add esp, 8
test eax, eax
je 0x4b4f11
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 8]
cmp dword [eax + esi*4], edi
je 0x4b4f24
add dword [esp + 0x50], 4
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 4]
inc esi
cmp esi, eax
jl 0x4b4ee3
jmp case.0x4b4f33.64
mov edx, dword [esp + 0x3c]
movzx eax, byte [edx]
add eax, 0xffffffc1
cmp eax, 8
ja case.0x4b4f33.64
jmp dword [eax*4 + 0x4b5fe8]
test esi, esi
jne case.0x4b4f33.64
or dword [esp + 0x54], 1
jmp case.0x4b4f33.64
mov ecx, esi
mov eax, 1
shl eax, cl
or dword [esp + 0x2c], eax
jmp case.0x4b4f33.64
mov eax, dword [esp + 0x20]
mov edx, 1
mov ecx, esi
shl edx, cl
or eax, edx
mov dword [esp + 0x20], eax
jmp case.0x4b4f33.64
mov ecx, esi
mov eax, 1
shl eax, cl
or dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
add ecx, 0x18
dec eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], eax
jne 0x4b4e40
mov ecx, dword [esp + 0x18]
mov esi, dword [ecx + 4]
xor edx, edx
test esi, esi
jle 0x4b4fbb
lea ecx, [ecx]
lea ecx, [edx + 1]
mov eax, 1
shl eax, cl
dec eax
mov edi, eax
and edi, dword [esp + 0x2c]
cmp edi, eax
jne 0x4b4fbb
mov edx, ecx
cmp edx, esi
jl 0x4b4fa0
mov ecx, edx
mov eax, 1
shl eax, cl
lea esi, [edx*8]
mov edx, dword [esp + 0x20]
test edx, eax
je 0x4b4fd4
inc esi
mov ecx, dword [esp + 0x5c]
test ecx, eax
je 0x4b4fdf
add esi, 2
test esi, esi
jne 0x4b4ff0
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4b4ff0
mov esi, 4
cmp esi, dword [esp + 0x64]
jle 0x4b5002
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], edx
mov dword [esp + 0x64], esi
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x1c]
xor ecx, ecx
cmp eax, ecx
mov dword [esp + 0x18], eax
jne 0x4b4e06
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x64]
mov dword [eax + 0xc], edx
mov edx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov dword [eax + 0x38], 0
mov eax, dword [esp + 0x1c]
or edx, eax
test ecx, ecx
mov dword [esp + 0x30], edx
je 0x4b5052
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov edx, dword [esp + 0x14]
mov dword [edx + 8], ecx
inc dword [eax + 0x40]
mov esi, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x34]
movsx edx, word [ecx]
mov edi, dword [esp + 0x4c]
add esi, 0x3c
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x44]
inc eax
add esi, 0x24
cmp eax, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x44], esi
jl 0x4b4c20
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4b513f
mov eax, dword [eax]
test eax, eax
mov dword [esp + 0x58], eax
je 0x4b513f
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
jle 0x4b513f
mov esi, dword [edi + 0x18]
test esi, esi
mov ecx, eax
mov ecx, dword [ecx + 0x10]
mov dword [esp + 0x10], 0
je 0x4b50c3
cmp dword [edi + 0x20], 4
je 0x4b513f
mov eax, dword [esp + 0x168]
test eax, eax
jge 0x4b513f
mov eax, dword [esp + 0x1e8]
test eax, eax
jge 0x4b513f
mov eax, dword [esp + 0xe8]
test eax, eax
jge 0x4b513f
mov eax, dword [edi + 0x20]
add eax, 4
cdq
and edx, 7
add eax, edx
sar eax, 3
lea edx, [esp + 0x10]
push edx
mov edx, dword [ebp + 0xc]
push eax
mov eax, dword [esp + 0x60]
push esi
push eax
mov eax, dword [edx + 0x1c]
push ecx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004b4870
add esp, 0x18
test eax, eax
je 0x4b513f
test esi, esi
je 0x4b5120
cmp esi, eax
jne 0x4b513f
jmp 0x4b512f
mov dword [edi + 0x18], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x40]
mov dword [edi + 0x1c], ecx
inc dword [eax + 0x40]
mov edx, dword [esp + 0x10]
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x4c], edx
mov dword [eax], 0
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
push ecx
call fcn.00495790
mov edx, dword [ebp + 0xc]
add esp, 8
cmp word [edx], 0
mov dword [esp + 0x34], 0
jle 0x4b51f7
mov edi, dword [esp + 0x4c]
mov eax, edx
add edi, 0x1c
add eax, 0x1c
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov esi, dword [ecx - 0xc]
mov al, byte [esi + 0x1e]
test al, al
jne 0x4b51d2
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x4b51d2
mov edx, ecx
mov eax, dword [edx]
push esi
push eax
push ebx
call fcn.004ada30
movzx ecx, byte [esi + 0x1d]
mov edx, dword [ebp + 8]
push ecx
push edx
call fcn.00495790
mov esi, dword [edi - 4]
add esp, 0x14
test esi, esi
je 0x4b51d2
movzx eax, byte [esi + 0x16]
push 0
push eax
push 0x2a
push ebx
call fcn.0049f3b0
mov edx, dword [esi + 0x10]
mov eax, dword [edi]
push 0xfffffffffffffffa
lea ecx, [esi + 0x20]
push ecx
push edx
push eax
push 0x17
push ebx
call fcn.004a0af0
add esp, 0x28
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x1c]
movsx edx, word [ecx]
inc eax
add esi, 0x24
add edi, 0x3c
cmp eax, edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], esi
jl 0x4b5172
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp word [ecx], ax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
jle 0x4b5f90
lea ecx, [ecx]
mov eax, dword [esp + 0x34]
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x4c]
lea edx, [eax + eax*8]
lea edx, [ecx + edx*4]
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x20], ecx
mov ecx, eax
imul ecx, ecx, 0x3c
test eax, eax
lea esi, [ecx + esi + 0x14]
jle 0x4b527c
test byte [edx - 0xc], 4
je 0x4b527c
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x44]
test eax, eax
jne 0x4b524c
mov dword [edi + 0x44], 1
mov edx, dword [edi + 0x44]
push 0
mov dword [esi + 0x24], edx
mov edx, dword [edi + 0x44]
push 0
inc edx
push 0x55
push ebx
mov dword [edi + 0x44], edx
call fcn.0049f3b0
mov eax, dword [esi + 0x24]
push 1
push eax
push 0x69
push ebx
call fcn.0049f3b0
mov eax, dword [esp + 0x54]
add esp, 0x20
jmp 0x4b527f
mov edi, dword [ebp + 8]
cmp eax, 0x20
mov ecx, dword [esi + 4]
mov dword [esp + 0x3c], ecx
mov dword [esi + 0x2c], 0x5f
jae 0x4b5386
mov edx, dword [esp + eax*4 + 0x168]
test edx, edx
jl 0x4b5386
lea ecx, [edx + edx*2]
lea edx, [esp + ecx*8 + 0x268]
push ebx
mov dword [esp + 0x10], edx
call fcn.0049f400
mov dword [esi + 0x10], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov cl, byte [eax]
add esp, 4
cmp cl, 0x3f
je 0x4b52df
mov ecx, dword [eax + 0xc]
push ecx
push edi
call fcn.0049dbd0
add esp, 8
jmp 0x4b5328
mov ecx, dword [esp + 0x38]
mov edi, dword [eax + 0x24]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
push ecx
push edi
push 0x33
push eax
mov dword [esp + 0x20], eax
call fcn.0049f3b0
mov edx, dword [esp + 0x20]
push 1
push edi
push 6
push edx
call fcn.0049f3b0
mov eax, dword [esp + 0x30]
push 0
push edi
push 0x29
push eax
call fcn.0049f3b0
add esp, 0x30
mov dword [esi + 0x34], eax
mov dword [esi + 0x2c], 0x6a
mov dword [esi + 0x30], edi
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4b533b
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
test byte [edx + 3], 1
je 0x4b5345
mov eax, dword [esp + 0xc]
mov dword [eax], 0
push ebx
call fcn.0049f400
mov edi, dword [esp + 0x3c]
push edi
push 1
push 0x6d
push ebx
mov dword [esi + 0x14], eax
mov dword [esp + 0x5c], eax
call fcn.0049f3b0
mov ecx, dword [esp + 0x34]
push edi
push ecx
push 0x1f
push ebx
mov dword [esp + 0x30], 0
call fcn.0049f3b0
add esp, 0x24
mov dword [esi + 0x18], 0x5f
jmp 0x4b5e11
test ecx, ecx
je 0x4b5693
mov edx, dword [esi + 0xc]
test edx, edx
jle 0x4b5693
mov ecx, edx
and ecx, 0x80000003
jns 0x4b53a8
dec ecx
or ecx, 0xfffffffc
inc ecx
jne 0x4b568f
lea eax, [edx + 4]
cdq
and edx, 7
add eax, edx
mov edi, eax
sar edi, 3
push ebx
mov dword [esp + 0x3c], edi
call fcn.0049f400
add esp, 4
test edi, edi
mov dword [esp + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esp + 0x2c], 0
jle 0x4b550f
mov eax, dword [esp + 0x24]
test eax, eax
lea edi, [esp + 0x268]
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], 0
jle 0x4b54f8
nop
mov ecx, dword [edi]
test ecx, ecx
je 0x4b545c
movsx edx, word [edi + 6]
cmp edx, dword [esp + 0x20]
jne 0x4b545c
mov eax, dword [edi + 0x10]
mov edx, eax
and edx, dword [esp + 0x30]
cmp edx, eax
jne 0x4b545c
mov eax, dword [ecx + 8]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 8]
mov eax, dword [eax + 0x28]
mov ecx, dword [esp + 0x2c]
cmp eax, dword [edx + ecx*4]
jne 0x4b545c
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + 0xc]
lea edx, [eax + eax*4]
mov eax, dword [ecx + 8]
mov cl, byte [eax + edx*4 + 0x12]
mov eax, dword [edi]
mov byte [esp + 0x58], cl
mov edx, dword [esp + 0x58]
push edx
push eax
call fcn.0049cb10
add esp, 8
test eax, eax
jne 0x4b5479
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
inc eax
add edi, 0x18
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x4b5400
mov dword [esp + 0xc], edi
jmp 0x4b54f8
mov eax, dword [edi]
cmp byte [eax], 0x3f
mov dword [esp + 0xc], edi
je 0x4b5496
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.0049dbd0
add esp, 8
jmp 0x4b54e3
mov ecx, dword [esp + 0x14]
mov edi, dword [eax + 0x24]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x30]
push ecx
push edi
push 0x33
push eax
mov dword [esp + 0x20], eax
call fcn.0049f3b0
mov edx, dword [esp + 0x20]
push 1
push edi
push 6
push edx
call fcn.0049f3b0
mov eax, dword [esp + 0x30]
push 0
push edi
push 0x29
push eax
call fcn.0049f3b0
mov dword [esi + 0x30], edi
mov edi, dword [esp + 0x3c]
add esp, 0x30
mov dword [esi + 0x34], eax
mov dword [esi + 0x2c], 0x6a
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4b54f2
mov ecx, dword [edi]
test byte [ecx + 3], 1
je 0x4b54f8
mov dword [edi], 0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
inc eax
cmp eax, ecx
mov dword [esp + 0x2c], eax
jl 0x4b53e0
mov edi, ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov dword [esi], edx
mov ecx, dword [eax + 0x44]
inc ecx
push ebx
mov dword [eax + 0x44], ecx
call fcn.0049f400
push ebx
mov dword [esi + 0x14], eax
mov dword [esp + 0x50], eax
call fcn.004fbe90
add eax, 3
push eax
mov eax, edi
neg eax
push eax
push 0x41
push ebx
call fcn.0049f3b0
push 0
push edi
push 0x1a
push ebx
call fcn.0049f3b0
mov ecx, dword [esp + 0x3c]
push ecx
push 0
push 0x5b
push ebx
call fcn.0049f3b0
push 0
push edi
push 0x59
push ebx
call fcn.0049f3b0
mov edx, dword [esp + 0x84]
add esp, 0x48
push edx
push ebx
call fcn.004b6190
mov eax, dword [esi]
push 0
push eax
push 0x69
push ebx
call fcn.0049f3b0
mov eax, dword [esi + 0x38]
add esp, 0x18
test eax, eax
je 0x4b55ce
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 8]
push ecx
push edx
push 0x20
push ebx
call fcn.0049f3b0
mov eax, dword [esi]
push 0
push eax
push 0x30
push ebx
call fcn.0049f3b0
mov ecx, dword [esp + 0x34]
mov edx, dword [esi + 8]
push ecx
push edx
push 0x32
push ebx
mov dword [esp + 0x40], eax
call fcn.0049f3b0
add esp, 0x30
mov dword [esi + 0x18], 0x6b
jmp 0x4b5612
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 8]
push eax
push ecx
push 0x6c
push ebx
call fcn.0049f3b0
mov edx, dword [esi]
push 0
push edx
push 0x30
push ebx
call fcn.0049f3b0
mov ecx, dword [esi + 8]
push 0xfffffffffffffffe
push 0x544b88
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
push 0x76
push ebx
call fcn.004a0af0
add esp, 0x38
mov dword [esi + 0x18], 0x6a
mov edx, dword [esi + 8]
push 0
push edx
push 0xf
push ebx
call fcn.0049f3b0
mov eax, dword [esp + 0x58]
push eax
push edi
push 0x13
push ebx
call fcn.0049f3b0
mov ecx, dword [esi + 8]
push 0
push ecx
push 0xe
push ebx
call fcn.0049f3b0
mov edx, dword [ebp + 0xc]
movsx eax, word [edx]
mov ecx, dword [esp + 0x64]
add esp, 0x30
dec eax
cmp ecx, eax
jne 0x4b5669
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4b5669
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], 1
mov dword [esi + 0x20], eax
jmp 0x4b5e0b
mov ecx, dword [esp + 0x20]
push 0
push ecx
push 0x6c
push ebx
call fcn.0049f3b0
mov eax, dword [esp + 0x20]
add esp, 0x10
mov dword [esp + 0xc], 0
mov dword [esi + 0x20], eax
jmp 0x4b5e0b
mov ecx, dword [esp + 0x3c]
cmp eax, 0x20
jae 0x4b584b
mov edx, dword [esp + eax*4 + 0x1e8]
test edx, edx
mov dword [esp + 0x10], edx
jge 0x4b56ba
mov edx, dword [esp + eax*4 + 0xe8]
test edx, edx
jl 0x4b584b
push ebx
mov dword [esp + 0x64], 0x5f
call fcn.0049f400
push ebx
mov dword [esp + 0x24], eax
mov dword [esi + 0x10], eax
call fcn.0049f400
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x14], eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + ecx*4 + 0xf0]
add esp, 8
test eax, eax
jl 0x4b5768
lea eax, [eax + eax*2]
lea eax, [esp + eax*8 + 0x268]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
push edx
push edi
mov dword [esp + 0x40], eax
call fcn.0049dbd0
mov eax, dword [esp + 0x40]
mov al, byte [eax]
add esp, 8
cmp al, 0x46
je 0x4b5721
cmp al, 0x44
je 0x4b5721
xor eax, eax
jmp 0x4b5726
mov eax, 1
mov ecx, dword [esp + 0x1c]
push ecx
push eax
push 0x6e
push ebx
call fcn.0049f3b0
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
push edx
push eax
push 0x6c
push ebx
call fcn.0049f3b0
mov eax, dword [esi + 0x24]
add esp, 0x20
test eax, eax
je 0x4b575c
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
test byte [edx + 3], 1
je 0x4b577d
mov eax, dword [esp + 0xc]
mov dword [eax], 0
jmp 0x4b577d
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push ecx
push edx
push 0x33
push ebx
call fcn.0049f3b0
add esp, 0x10
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x4b57f2
lea eax, [eax + eax*2]
lea eax, [esp + eax*8 + 0x268]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [eax + 0xc]
push eax
push edi
call fcn.0049dbd0
mov ecx, dword [edi + 0x44]
mov dword [esi], ecx
inc dword [edi + 0x44]
mov edx, dword [esi]
push 1
push edx
push 0x69
push ebx
call fcn.0049f3b0
mov eax, dword [esp + 0x28]
mov al, byte [eax]
add esp, 0x18
cmp al, 0x46
je 0x4b57ce
cmp al, 0x44
mov edi, 0x44
jne 0x4b57d3
mov edi, 0x47
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4b57e6
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx]
test byte [edx + 3], 1
je 0x4b57f6
mov eax, dword [esp + 0xc]
mov dword [eax], 0
jmp 0x4b57f6
mov edi, dword [esp + 0x60]
push ebx
call fcn.004fbe90
mov ecx, dword [esp + 0x24]
add esp, 4
cmp edi, 0x5f
mov dword [esi + 0x18], 0x6a
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], eax
je 0x4b583e
push 0
push ecx
push 5
push ebx
call fcn.0049f3b0
mov ecx, dword [esi]
push 0
push ecx
push 0x30
push ebx
call fcn.0049f3b0
mov edx, dword [esp + 0x3c]
push edx
push 0
push edi
push ebx
call fcn.0049f3b0
add esp, 0x30
mov dword [esp + 0xc], 0
jmp 0x4b5e11
test ecx, ecx
jne 0x4b5898
push ebx
call fcn.0049f400
mov edi, eax
push ebx
mov dword [esi + 0x10], edi
call fcn.0049f400
push edi
mov edi, dword [esp + 0x2c]
push edi
push 0x33
push ebx
mov dword [esi + 0x14], eax
mov dword [esp + 0x60], eax
call fcn.0049f3b0
push ebx
call fcn.004fbe90
add esp, 0x1c
mov dword [esi + 0x18], 0x6a
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
mov dword [esp + 0xc], 0
jmp 0x4b5e11
mov eax, dword [esi + 0xc]
mov dword [esp + 0x44], eax
cdq
and edx, 7
add eax, edx
xor ecx, ecx
sar eax, 3
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x2c], ecx
jle 0x4b596f
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x2c]
mov eax, dword [ecx + edx*4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
test eax, eax
lea edi, [esp + 0x268]
mov dword [esp + 0x18], 0
jle 0x4b595a
jmp 0x4b58f0
mov eax, dword [edi]
test eax, eax
je 0x4b591f
movsx ecx, word [edi + 6]
cmp ecx, dword [esp + 0x20]
jne 0x4b591f
cmp byte [eax], 0x43
jne 0x4b591f
mov ecx, dword [esp + 0x30]
mov edx, dword [edi + 0x10]
and edx, ecx
cmp edx, dword [edi + 0x10]
jne 0x4b591f
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x10]
cmp dword [ecx + 0x28], edx
je 0x4b5935
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
inc eax
add edi, 0x18
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x4b58f0
jmp 0x4b595a
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.0049dbd0
mov eax, dword [esi + 0x24]
add esp, 8
test eax, eax
je 0x4b5954
mov edx, dword [edi]
test byte [edx + 3], 1
je 0x4b595a
mov dword [edi], 0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x2c], eax
jl 0x4b58c2
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x2c], 0
jle 0x4b59a5
mov edi, eax
lea eax, [edi - 1]
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], edi
lea esp, [esp]
mov ecx, dword [esp + 0x10]
push 0
push ecx
push 0xb
push ebx
call fcn.0049f3b0
add esp, 0x10
dec edi
jne 0x4b5990
push ebx
call fcn.0049f400
push ebx
mov dword [esi + 0x14], eax
mov dword [esp + 0x50], eax
call fcn.0049f400
mov ecx, dword [esp + 0x4c]
add esp, 8
and ecx, 1
mov dword [esp + 0x28], eax
mov dword [esi + 0x10], eax
mov dword [esp + 0x10], ecx
je 0x4b5a9e
mov eax, dword [esp + 0x24]
test eax, eax
lea edx, [esp + 0x268]
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], 0
jle 0x4b5a94
mov eax, edx
mov edi, dword [eax]
test edi, edi
je 0x4b5a37
movsx ecx, word [eax + 6]
cmp ecx, dword [esp + 0x20]
jne 0x4b5a37
mov cl, byte [edi]
cmp cl, 0x46
je 0x4b5a10
cmp cl, 0x45
jne 0x4b5a37
mov ecx, dword [eax + 0x10]
mov edx, ecx
and edx, dword [esp + 0x30]
cmp edx, ecx
jne 0x4b5a37
mov eax, dword [esp + 0x3c]
mov edx, dword [edi + 8]
mov ecx, dword [eax + 8]
mov eax, dword [edx + 0x28]
mov edx, dword [esp + 0x2c]
cmp eax, dword [ecx + edx*4]
je 0x4b5a59
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
inc ecx
add eax, 0x18
cmp ecx, edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], eax
jl 0x4b59f4
mov dword [esp + 0x1c], 0x76
jmp 0x4b5ac5
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.0049dbd0
mov cl, byte [edi]
mov eax, dword [esi + 0x24]
xor edx, edx
add esp, 8
cmp cl, 0x45
sete dl
test eax, eax
mov dword [esp + 0x50], edx
je 0x4b5a8a
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
test byte [ecx + 3], 1
je 0x4b5a94
mov edx, dword [esp + 0xc]
mov dword [edx], 0
mov dword [esp + 0x1c], 0x76
jmp 0x4b5ac5
mov edx, dword [esp + 0x14]
xor ecx, ecx
test edx, edx
setle cl
mov dword [esp + 0x50], 1
dec ecx
and ecx, 0x17
add ecx, 0x5f
cmp ecx, 0x5f
mov dword [esp + 0x1c], ecx
je 0x4b5b59
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edi, [eax + ecx]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov dword [esi], edx
mov ecx, dword [eax + 0x44]
inc ecx
push ebx
mov dword [eax + 0x44], ecx
call fcn.004fbe90
add eax, 3
push eax
mov eax, edi
neg eax
push eax
push 0x41
push ebx
call fcn.0049f3b0
push 0
push edi
push 0x1a
push ebx
call fcn.0049f3b0
mov ecx, dword [esp + 0x4c]
push ecx
push 0
push 0x5b
push ebx
call fcn.0049f3b0
push 0
push edi
push 0x59
push ebx
call fcn.0049f3b0
mov edx, dword [esp + 0x80]
add esp, 0x44
push edx
push ebx
call fcn.004b6190
mov eax, dword [esi + 0x38]
add esp, 8
test eax, eax
je 0x4b5b50
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 8]
neg edx
sbb edx, edx
push eax
and edx, 0xfffffff2
push ecx
add edx, 0x2e
push edx
jmp 0x4b5b67
mov eax, dword [esi]
push 1
push eax
push 0x69
jmp 0x4b5b67
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x4b5b70
mov ecx, dword [esi + 8]
push eax
push ecx
push 0x57
push ebx
call fcn.0049f3b0
add esp, 0x10
mov eax, dword [esp + 0x44]
and eax, 2
mov dword [esp + 0x38], eax
je 0x4b5c3a
mov eax, dword [esp + 0x24]
test eax, eax
lea edx, [esp + 0x268]
mov dword [esp + 0xc], edx
mov dword [esp + 0x18], 0
jle 0x4b5c42
mov ecx, edx
mov edi, dword [ecx]
test edi, edi
je 0x4b5be3
movsx eax, word [ecx + 6]
cmp eax, dword [esp + 0x20]
jne 0x4b5be3
mov al, byte [edi]
cmp al, 0x44
je 0x4b5bbc
cmp al, 0x47
jne 0x4b5be3
mov eax, dword [ecx + 0x10]
mov edx, eax
and edx, dword [esp + 0x30]
cmp edx, eax
jne 0x4b5be3
mov eax, dword [esp + 0x3c]
mov edx, dword [edi + 8]
mov ecx, dword [eax + 8]
mov eax, dword [edx + 0x28]
mov edx, dword [esp + 0x2c]
cmp eax, dword [ecx + edx*4]
je 0x4b5bfd
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
inc eax
add ecx, 0x18
cmp eax, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0xc], ecx
jl 0x4b5ba2
jmp 0x4b5c42
mov eax, dword [edi + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
call fcn.0049dbd0
mov cl, byte [edi]
mov eax, dword [esi + 0x24]
xor edx, edx
add esp, 8
cmp cl, 0x47
sete dl
test eax, eax
mov dword [esp + 0x40], edx
je 0x4b5c2e
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
test byte [ecx + 3], 1
je 0x4b5c42
mov edx, dword [esp + 0xc]
mov dword [edx], 0
jmp 0x4b5c42
mov dword [esp + 0x40], 1
mov eax, dword [esp + 0x14]
test eax, eax
jg 0x4b5c76
mov eax, dword [esp + 0x38]
test eax, eax
jne 0x4b5c76
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4b5c66
mov dword [esp + 0x1c], 0x5f
jmp 0x4b5d1f
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 8]
push eax
push ecx
push 0x33
jmp 0x4b5d16
mov edi, dword [esp + 0x44]
mov eax, dword [esp + 0x14]
shr edi, 1
and edi, 1
push ebx
add edi, eax
call fcn.004fbe90
add eax, 3
push eax
mov edx, edi
neg edx
push edx
push 0x41
push ebx
call fcn.0049f3b0
push 0
push edi
push 0x1a
push ebx
call fcn.0049f3b0
mov eax, dword [esp + 0x4c]
push eax
push 0
push 0x5b
push ebx
call fcn.0049f3b0
push 0
push edi
push 0x59
push ebx
call fcn.0049f3b0
mov ecx, dword [esp + 0x80]
add esp, 0x44
push ecx
push ebx
call fcn.004b6190
mov eax, dword [esi + 0x38]
add esp, 8
test eax, eax
je 0x4b5cfe
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x44]
mov dword [esi], edx
inc dword [eax + 0x44]
mov eax, dword [esi]
push 1
push eax
push 0x69
push ebx
call fcn.0049f3b0
mov dword [esp + 0x2c], 0x32
jmp 0x4b5d1c
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 8]
neg eax
sbb eax, eax
push ecx
and eax, 0x64
push edx
add eax, 8
push eax
push ebx
call fcn.0049f3b0
add esp, 0x10
push ebx
call fcn.004fbe90
mov edi, eax
mov eax, dword [esp + 0x20]
add esp, 4
cmp eax, 0x5f
je 0x4b5d87
mov ecx, dword [esi]
push 0
push ecx
push 0x30
push ebx
call fcn.0049f3b0
mov edx, dword [esp + 0x38]
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x2c]
push edx
push eax
push ecx
push ebx
call fcn.0049f3b0
mov eax, dword [esp + 0x70]
add esp, 0x20
test eax, eax
je 0x4b5d66
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4b5d75
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4b5d87
mov eax, dword [esi + 0x38]
test eax, eax
je 0x4b5d87
push 0xfffffffffffffffe
push 0x544b88
push 0xffffffffffffffff
push ebx
call fcn.0049f5c0
add esp, 0x10
mov edx, dword [esi + 8]
push 0
push edx
push 0xf
push ebx
call fcn.0049f3b0
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push eax
add ecx, edx
push ecx
push 0x13
push ebx
call fcn.0049f3b0
mov eax, dword [esi + 8]
push 0
push eax
push 0xe
push ebx
call fcn.0049f3b0
mov ecx, dword [ebp + 0xc]
movsx edx, word [ecx]
mov eax, dword [esp + 0x64]
add esp, 0x30
dec edx
cmp eax, edx
jne 0x4b5dde
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4b5dde
mov dword [esp + 0xc], 1
jmp 0x4b5df8
mov eax, dword [esp + 0x20]
push 0
push eax
push 0x6c
push ebx
call fcn.0049f3b0
add esp, 0x10
mov dword [esp + 0xc], 0
mov edx, dword [esi + 0x38]
xor ecx, ecx
test edx, edx
setne cl
mov dword [esi + 0x20], edi
add ecx, 0x6a
mov dword [esi + 0x18], ecx
mov edx, dword [esi + 8]
mov dword [esi + 0x1c], edx
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x20]
xor ecx, ecx
test eax, eax
jle 0x4b5e2b
nop
cmp dword [esp + ecx*4 + 0x6c], edx
je 0x4b5e3d
inc ecx
cmp ecx, eax
jl 0x4b5e20
cmp ecx, eax
jne 0x4b5e46
cmp ecx, 0x1f
jae 0x4b5e46
inc eax
mov dword [esp + 0x68], eax
mov dword [esp + ecx*4 + 0x6c], edx
mov eax, 1
shl eax, cl
jmp 0x4b5e48
xor eax, eax
mov edx, dword [esp + 0x30]
or edx, eax
mov eax, dword [esp + 0x24]
test eax, eax
mov dword [esp + 0x30], edx
lea edi, [esp + 0x268]
jle 0x4b5ed1
mov dword [esp + 0x10], eax
mov ecx, dword [edi]
test ecx, ecx
je 0x4b5ec3
mov eax, dword [edi + 0x14]
mov edx, eax
and edx, dword [esp + 0x30]
cmp edx, eax
jne 0x4b5ec3
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4b5e85
test byte [ecx + 3], 1
je 0x4b5ec3
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4b5ea7
mov eax, dword [esp + 0x20]
push 0
push eax
push 0x6c
push ebx
mov dword [esp + 0x1c], 0
call fcn.0049f3b0
add esp, 0x10
mov ecx, dword [esp + 0x48]
mov edx, dword [edi]
mov eax, dword [ebp + 8]
push 1
push ecx
push edx
push eax
call fcn.0049e560
add esp, 0x10
mov dword [edi], 0
mov eax, dword [esp + 0x10]
add edi, 0x18
dec eax
mov dword [esp + 0x10], eax
jne 0x4b5e65
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4b5f79
push ebx
call fcn.004fbe90
push 0
push 1
push 0x2a
push ebx
mov dword [esi + 0x28], eax
call fcn.0049f3b0
mov ecx, dword [esi + 0x24]
push 1
push ecx
push 0x69
push ebx
call fcn.0049f3b0
mov eax, dword [esp + 0x48]
add esp, 0x24
test eax, eax
lea esi, [esp + 0x268]
jle 0x4b5f79
mov edi, dword [esp + 0xc]
mov dword [esp + 0x10], eax
lea esp, [esp]
cmp dword [esi], 0
je 0x4b5f67
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x30]
mov edx, eax
and edx, ecx
cmp edx, eax
jne 0x4b5f67
test edi, edi
je 0x4b5f4b
mov eax, dword [esp + 0x20]
xor edi, edi
push edi
push eax
push 0x6c
push ebx
call fcn.0049f3b0
add esp, 0x10
mov ecx, dword [esp + 0x48]
mov edx, dword [esi]
mov eax, dword [ebp + 8]
push 1
push ecx
push edx
push eax
call fcn.0049e560
add esp, 0x10
mov dword [esi], 0
mov eax, dword [esp + 0x10]
add esi, 0x18
dec eax
mov dword [esp + 0x10], eax
jne 0x4b5f20
mov dword [esp + 0xc], edi
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x34]
movsx edx, word [ecx]
inc eax
cmp eax, edx
mov dword [esp + 0x34], eax
jl 0x4b5210
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x4b5fbe
mov eax, dword [esp + 0xc]
test eax, eax
jne 0x4b5fbe
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x1c]
push 0
push eax
push 5
push ebx
call fcn.0049f3b0
add esp, 0x10
mov eax, dword [esp + 0x4c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret