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

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov ecx, dword [eax]
push edi
push ecx
mov edx, dword [esi + 0xd0]
mov edi, ecx
mov ebx, edx
mov dword [esp + 0x20], ecx
push 0xa
push ebx
mov dword [esp + 0x2c], edx
mov ebp, edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x38], ecx
call fcn.10366d60
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x101c9424
mov dword [esp + 0x18], 0xffffffff
nop dword [eax + eax]
mov edx, dword [esp + 0x34]
sub edi, ecx
lea eax, [edi - 1]
add eax, ebp
lea edi, [esi + 0x8a4]
mov dword [edx], eax
lea eax, [ecx + 1]
mov dword [esi + 0xd0], eax
sub eax, ebx
push eax
push ebx
push edi
call fcn.101b22b0
add esp, 0xc
test eax, eax
jne 0x101c85fa
cmp dword [esi + 0xcc], eax
jne 0x101c8602
push edi
call fcn.1019d450
push edi
mov ebx, eax
call fcn.1019d250
mov ebp, dword [esp + 0x38]
add esp, 8
mov ecx, dword [ebp + 0x1e0]
test dword [ecx + 0x44], 0x40000
je 0x101c85b3
cmp ebx, 5
mov ecx, 5
sbb edi, edi
inc edi
cmp ebx, 5
cmova ebx, ecx
push ebx
push eax
push 0x1056d208
call fcn.101c08c0
add esp, 0xc
test eax, eax
mov eax, 2
cmovne eax, edi
lea edi, [esi + 0x8a4]
jmp 0x101c85be
push ebx
push eax
push esi
call fcn.101c9e70
add esp, 0xc
cmp eax, 2
jne 0x101c8606
push eax
push ebp
call fcn.101bde50
add esp, 8
cmp byte [esi + 0x6e9], 0
je 0x101c949e
mov eax, dword [esp + 0x34]
mov byte [esi + 0x142], 0
cmp dword [eax], 0
je 0x101c9240
mov dword [esi + 0xc8], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov ebp, dword [esp + 0x30]
push edi
call fcn.1019d250
mov edx, eax
add esp, 4
mov dword [esp + 0x2c], edx
mov cl, byte [edx]
cmp cl, 0xa
je 0x101c8b22
cmp cl, 0xd
je 0x101c8b22
mov ecx, dword [esi + 0xcc]
mov ebx, 2
lea eax, [ecx + 1]
mov dword [esi + 0xcc], eax
test ecx, ecx
jne 0x101c8a1e
mov eax, dword [ebp + 0x1e0]
mov eax, dword [eax + 0x44]
test al, 3
je 0x101c8847
mov al, byte [edx]
mov edi, edx
test al, al
je 0x101c8670
nop
cmp al, 0x20
je 0x101c8668
cmp al, 9
jne 0x101c8670
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x101c8660
push 5
push 0x1056d200
push edi
call fcn.10380a70
add esp, 0xc
test eax, eax
jne 0x101c8719
movsx ecx, byte [edi + 5]
mov eax, ecx
sub eax, 0x31
je 0x101c875d
sub eax, 1
je 0x101c86a5
sub eax, 1
jne 0x101c9264
mov al, byte [edi + 6]
cmp al, 0x20
je 0x101c86b0
cmp al, 9
jne 0x101c8719
lea ebx, [ecx - 0x30]
mov cl, byte [edi + 7]
mov al, cl
lea ebx, [ebx + ebx*4]
sub al, 0x30
add ebx, ebx
cmp al, 9
ja 0x101c8719
mov dh, byte [edi + 8]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x101c8719
mov dl, byte [edi + 9]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x101c8719
movsx eax, cl
lea ecx, [eax + eax*4]
movsx eax, dh
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, dl
lea ecx, [ecx - 0xa68]
lea ecx, [eax + ecx*2]
mov dword [esi + 0xe0], ecx
mov al, byte [edi + 0xa]
cmp al, 0x20
je 0x101c87f0
cmp al, 9
je 0x101c87f0
cmp al, 0xa
jl 0x101c8719
cmp al, 0xd
jle 0x101c87f0
lea ebx, [esi + 0x8a4]
push ebx
call fcn.1019d450
add esp, 4
push eax
push ebx
call fcn.1019d250
add esp, 4
push eax
push esi
call fcn.101c9e70
add esp, 0xc
cmp eax, 1
jne 0x101c92ea
lea edi, [ebp + 0x451]
mov dword [esi + 0xe0], 0xc8
mov byte [edi], 0xa
jmp 0x101c8926
cmp byte [edi + 6], 0x2e
jne 0x101c92cf
mov al, byte [edi + 7]
cmp al, 0x30
je 0x101c8776
cmp al, 0x31
jne 0x101c92cf
mov cl, byte [edi + 8]
cmp cl, 0x20
je 0x101c8787
cmp cl, 9
jne 0x101c92cf
mov cl, byte [edi + 9]
movsx ebx, al
mov al, cl
sub al, 0x30
sub ebx, 0x26
cmp al, 9
ja 0x101c92cf
mov dh, byte [edi + 0xa]
mov al, dh
sub al, 0x30
cmp al, 9
ja 0x101c92cf
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x101c92cf
movsx eax, cl
lea ecx, [eax + eax*4]
movsx eax, dh
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, dl
lea ecx, [ecx - 0xa68]
lea ecx, [eax + ecx*2]
mov dword [esi + 0xe0], ecx
mov al, byte [edi + 0xc]
cmp al, 0x20
je 0x101c87f0
cmp al, 9
je 0x101c87f0
sub al, 0xa
cmp al, 3
ja 0x101c92cf
cmp ecx, 0x64
jl 0x101c92b4
mov eax, ebx
sub eax, 0xa
je 0x101c8809
sub eax, 1
jne 0x101c927f
lea edi, [ebp + 0x451]
mov byte [edi], bl
cmp dword [esi + 0xfc], 3
jne 0x101c882d
cmp bl, 0x14
je 0x101c882d
push 0x1056bd40
push esi
call fcn.101bcdb0
add esp, 8
cmp byte [edi], 0x14
jae 0x101c8926
mov eax, dword [ebp + 0x420]
mov dword [eax], 0xffffffff
jmp 0x101c8926
test eax, 0x40000
je 0x101c92ea
mov al, byte [edx]
mov edi, edx
test al, al
je 0x101c8870
nop word [eax + eax]
cmp al, 0x20
je 0x101c8868
cmp al, 9
jne 0x101c8870
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x101c8860
push 5
push 0x1056d208
push edi
call fcn.10380a70
add esp, 0xc
test eax, eax
jne 0x101c92ea
mov al, byte [edi + 5]
sub al, 0x30
cmp al, 9
ja 0x101c9326
cmp byte [edi + 6], 0x2e
jne 0x101c9326
mov al, byte [edi + 7]
sub al, 0x30
cmp al, 9
ja 0x101c9326
mov al, byte [edi + 8]
cmp al, 0x20
je 0x101c88bb
cmp al, 9
jne 0x101c9326
mov cl, byte [edi + 9]
mov al, cl
sub al, 0x30
cmp al, 9
ja 0x101c9326
mov bl, byte [edi + 0xa]
mov al, bl
sub al, 0x30
cmp al, 9
ja 0x101c9326
mov dl, byte [edi + 0xb]
mov al, dl
sub al, 0x30
cmp al, 9
ja 0x101c9326
movsx eax, cl
lea ecx, [eax + eax*4]
movsx eax, bl
lea eax, [eax + ecx*2]
lea ecx, [eax + eax*4]
movsx eax, dl
lea eax, [eax + ecx*2]
add eax, 0xffffeb30
mov dword [esi + 0xe0], eax
mov al, byte [edi + 0xc]
cmp al, 0x20
je 0x101c891d
cmp al, 9
je 0x101c891d
sub al, 0xa
cmp al, 3
ja 0x101c9326
lea edi, [ebp + 0x451]
mov byte [edi], 0xb
mov ecx, dword [esi + 0xe0]
mov dl, byte [esi + 0xd4d]
mov dword [esi + 0xd70], ecx
movzx eax, byte [edi]
mov dword [esi + 0xd78], eax
mov al, byte [edi]
test dl, dl
je 0x101c894b
cmp dl, al
jbe 0x101c8951
mov byte [esi + 0xd4d], al
mov eax, dword [esi + 0xc40]
or eax, dword [esi + 0xc44]
je 0x101c8977
cmp byte [esi + 0xd4e], 0
jne 0x101c8977
cmp ecx, 0x1a0
jne 0x101c8977
mov byte [esi + 0x145], 1
mov al, byte [edi]
cmp al, 0xa
jne 0x101c8995
push 0x1053bd0c
push esi
call fcn.101bcdb0
push 1
push ebp
call fcn.101bde50
add esp, 0x10
jmp 0x101c89b3
cmp al, 0x14
je 0x101c89a7
cmp dword [esi + 0xfc], 2
jne 0x101c89b3
cmp ecx, 0x65
jne 0x101c89b3
mov eax, dword [ebp + 0x420]
mov dword [eax], 2
mov ecx, dword [esi + 0xe0]
lea eax, [ecx - 0x64]
cmp eax, 0x63
setbe al
mov byte [esi + 0x146], al
sub ecx, 0xcc
je 0x101c89e4
sub ecx, 0x64
jne 0x101c8a13
cmp byte [esi + 0x3c8], cl
je 0x101c89e4
mov byte [esi + 0xe38], 1
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov byte [esi + 0x146], 1
mov ebx, 6
lea edi, [esi + 0x8a4]
push edi
call fcn.1019d250
mov edi, eax
lea eax, [esi + 0x8a4]
push eax
call fcn.1019d450
push eax
push 0
push edi
mov dword [esp + 0x28], eax
call fcn.10366d60
add esp, 0x14
test eax, eax
jne 0x101c9317
mov ecx, dword [esi + 0xcc]
cmp ecx, 2
jl 0x101c8a7b
mov al, byte [edi]
cmp al, 0x20
je 0x101c8a5f
cmp al, 9
jne 0x101c8a64
cmp ecx, 2
jg 0x101c8a7b
push dword [esp + 0x14]
push 0x3a
push edi
call fcn.10366d60
add esp, 0xc
test eax, eax
je 0x101c92fb
push dword [esp + 0x2c]
push ebp
push esi
call fcn.101c69a0
add esp, 0xc
test eax, eax
jne 0x101c85fa
cmp byte [esi + 0x6cb], al
je 0x101c8a9c
or ebx, 1
mov edi, dword [esi + 0xe0]
lea eax, [esi + 0x8a4]
push eax
call fcn.1019d450
mov ebp, dword [esp + 0x30]
push eax
push ebp
push 1
push esi
call fcn.101bcf10
lea eax, [esi + 0x8a4]
push eax
call fcn.1019d450
push eax
lea eax, [edi - 0x64]
mov ecx, ebx
or ecx, 0x10
cmp eax, 0x64
push ebp
cmovae ecx, ebx
push ecx
push esi
call fcn.101bcfb0
add esp, 0x28
test eax, eax
jne 0x101c85fa
lea ebx, [esi + 0x8a4]
push ebx
call fcn.1019d450
add dword [esi + 0xd88], eax
push ebx
adc dword [esi + 0xd8c], 0
call fcn.1019d450
mov ebx, dword [esp + 0x38]
add esp, 8
add dword [esi + 0xa0], eax
adc dword [esi + 0xa4], 0
jmp 0x101c91f4
mov ecx, dword [esi + 0xe0]
lea eax, [ecx - 0x64]
cmp eax, 0x63
ja 0x101c8c34
sub ecx, 0x64
je 0x101c8b6d
sub ecx, 1
je 0x101c8b54
lea ebp, [esi + 0x142]
mov dword [esi + 0xcc], 0
mov byte [ebp], 1
jmp 0x101c8ba6
cmp dword [esi + 0xfc], 2
je 0x101c9333
lea ebp, [esi + 0x142]
mov byte [ebp], 0
jmp 0x101c8ba6
cmp dword [esi + 0xf8], 0
lea ebp, [esi + 0x142]
mov byte [ebp], 1
mov dword [esi + 0xcc], 0
jle 0x101c8ba6
or dword [esi + 0xe4], 2
push 0
push esi
mov dword [esi + 0xf8], 0
call fcn.10192c50
add esp, 8
lea edx, [esi + 0x80]
mov ebx, dword [esp + 0x30]
cmp byte [ebp], 0
jne 0x101c8cde
cmp byte [esi + 0x148], 0
jne 0x101c8cc3
cmp byte [edx + 0xc7], 0
jne 0x101c8cc3
mov ecx, dword [edx]
mov eax, ecx
mov edx, dword [edx + 4]
and eax, edx
cmp eax, 0xffffffff
je 0x101c8cde
mov eax, dword [esi + 0x4c8]
mov edi, dword [esi + 0x4cc]
or eax, edi
je 0x101c8c0c
cmp edx, edi
jg 0x101c9369
jl 0x101c8c0c
cmp ecx, dword [esi + 0x4c8]
ja 0x101c9369
push edx
push ecx
push esi
call fcn.101cb090
mov eax, dword [esi + 0x80]
add esp, 0xc
mov ecx, dword [esi + 0x84]
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], ecx
jmp 0x101c8cde
mov eax, dword [esi + 0x80]
lea edx, [esi + 0x80]
and eax, dword [edx + 4]
lea edi, [esi + 0x142]
mov byte [edi], 0
mov ebp, edi
cmp eax, 0xffffffff
jne 0x101c8bac
cmp byte [esi + 0x147], 0
mov ebx, dword [esp + 0x30]
jne 0x101c8bb0
cmp byte [ebx + 0x1c6], 0
jne 0x101c8bb0
cmp byte [ebx + 0x451], 0xb
jne 0x101c8bb0
mov eax, dword [ebx + 0x1e0]
test dword [eax + 0x44], 0x40000
jne 0x101c8bb0
cmp byte [esi + 0xd4e], 5
je 0x101c8bb0
push 0x10557c7c
push esi
call fcn.101bcdb0
push 2
push ebx
call fcn.101bde50
add esp, 0x10
lea edx, [esi + 0x80]
jmp 0x101c8bb0
mov dword [edx + 8], 0xffffffff
mov dword [edx + 0xc], 0xffffffff
mov dword [edx], 0xffffffff
mov dword [edx + 4], 0xffffffff
cmp byte [ebx + 0x1c6], 0
je 0x101c8d6e
mov eax, dword [esi + 0xe0]
cmp eax, 0x191
jne 0x101c8d03
cmp dword [ebx + 0x250], 2
je 0x101c8d13
jmp 0x101c8d28
cmp eax, 0x197
jne 0x101c8d28
cmp dword [ebx + 0x254], 2
jne 0x101c8d28
push 0x1056ef28
push esi
call fcn.101bcdb0
add esp, 8
mov byte [esi + 0xd55], 1
cmp byte [ebx + 0x1c6], 0
je 0x101c8d6e
mov eax, dword [esi + 0xe0]
cmp eax, 0x191
jne 0x101c8d49
cmp dword [ebx + 0x2d8], 1
je 0x101c8d59
jmp 0x101c8d6e
cmp eax, 0x197
jne 0x101c8d6e
cmp dword [ebx + 0x2dc], 1
jne 0x101c8d6e
push 0x1056ef28
push esi
call fcn.101bcdb0
add esp, 8
mov byte [esi + 0xd55], 1
cmp dword [ebx + 0x2d8], 3
jne 0x101c8d8d
cmp dword [esi + 0xe0], 0x191
je 0x101c8d8d
mov dword [ebx + 0x2d8], 4
cmp dword [ebx + 0x2dc], 3
jne 0x101c8dac
cmp dword [esi + 0xe0], 0x197
je 0x101c8dac
mov dword [ebx + 0x2dc], 4
mov eax, dword [esi + 0xe0]
xor ebx, ebx
cmp byte [esi + 0x6cb], bl
setne bl
sub eax, 0x64
add ebx, 2
cmp eax, 0x64
sbb eax, eax
and eax, 0x10
or ebx, eax
lea eax, [esi + 0x8a4]
push eax
call fcn.1019d450
add esp, 4
mov edi, eax
lea eax, [esi + 0x8a4]
mov dword [esp + 0x24], edi
push edi
push eax
call fcn.1019d250
add esp, 4
push eax
push ebx
push esi
call fcn.101bcfb0
add esp, 0x10
test eax, eax
jne 0x101c85fa
mov eax, edi
cdq
mov ebx, eax
mov eax, dword [esi + 0xa4]
add dword [esi + 0xd88], ebx
push esi
adc dword [esi + 0xd8c], edx
add ebx, dword [esi + 0xa0]
mov dword [esi + 0xa0], ebx
adc eax, edx
mov dword [esi + 0xa4], eax
mov edi, dword [esi + 0xe0]
mov dword [esp + 0x30], eax
call fcn.101c9600
add esp, 4
test al, al
jne 0x101c9408
lea eax, [edi - 0x64]
cmp eax, 0x63
ja 0x101c8e68
mov eax, dword [esp + 0x2c]
mov dword [esi + 0xa8], ebx
mov dword [esi + 0xac], eax
jmp 0x101c907d
mov ebx, dword [esi + 0xc]
xor dl, dl
mov dword [esi + 0xa8], 0
mov ecx, 0xffffffbf
mov dword [esi + 0xac], 0
mov eax, dword [esi + 0x5ec]
test eax, eax
mov byte [esp + 0x13], dl
cmovne ecx, dword [esp + 0x18]
cmp byte [esi + 0xd55], dl
je 0x101c8eb4
xor edi, edi
mov eax, 0x16
cmp byte [esi + 0x6c6], dl
cmovne edi, eax
jmp 0x101c9075
cmp dword [esi + 0xd3c], 0
jne 0x101c8ec5
mov byte [esp + 0x2c], dl
test eax, eax
je 0x101c8f36
cmp edi, 0x191
je 0x101c8ee6
cmp byte [ebx + 0x1d0], 0
mov byte [esp + 0x2c], dl
je 0x101c8f36
mov byte [esp + 0x2c], dl
cmp edi, 0x12c
jge 0x101c8f36
push ecx
lea eax, [esi + 0x95c]
push eax
call fcn.101c9670
mov cl, al
add esp, 8
mov byte [esp + 0x2c], cl
test cl, cl
jne 0x101c8f07
mov byte [esi + 0xd55], 1
cmp dword [esi + 0x960], 8
jne 0x101c8f36
cmp byte [ebx + 0x451], 0xb
jbe 0x101c8f36
push 0x105638bc
push esi
call fcn.101bcdb0
push 1
push ebx
call fcn.101bde50
add esp, 0x10
mov byte [esi + 0xd4c], 2
mov dl, byte [esp + 0x13]
mov al, dl
cmp byte [ebx + 0x1c2], al
je 0x101c8f7e
mov ecx, dword [esi + 0xe0]
cmp ecx, 0x197
je 0x101c8f62
cmp byte [ebx + 0x1d0], al
je 0x101c8f7e
cmp ecx, 0x12c
jge 0x101c8f7e
lea eax, [esi + 0x96c]
push 0xffffffffffffffbf
push eax
call fcn.101c9670
add esp, 8
test al, al
jne 0x101c8f7e
mov byte [esi + 0xd55], 1
cmp byte [esp + 0x2c], 0
jne 0x101c8fef
test al, al
jne 0x101c8fef
xor edi, edi
cmp dword [esi + 0xe0], 0x12c
jge 0x101c904f
cmp byte [esi + 0x968], al
jne 0x101c904f
cmp byte [ebx + 0x1d0], al
je 0x101c904f
mov al, byte [esi + 0xd4e]
test al, al
je 0x101c904f
cmp al, 5
je 0x101c904f
push dword [esi + 0xcac]
call dword [0x10588178]
add esp, 4
mov dword [esi + 0x118], eax
test eax, eax
je 0x101c93f9
mov byte [esi + 0x968], 1
jmp 0x101c904f
mov al, byte [esi + 0xd4e]
xor edi, edi
test al, al
je 0x101c901c
cmp al, 5
je 0x101c901c
cmp byte [esi + 0xd63], 0
jne 0x101c901c
push ebx
push esi
call fcn.101c9730
mov edi, eax
add esp, 8
test edi, edi
jne 0x101c93fe
push dword [esi + 0x118]
call dword [0x10588170]
push dword [esi + 0xcac]
mov dword [esi + 0x118], 0
call dword [0x10588178]
add esp, 8
mov dword [esi + 0x118], eax
test eax, eax
je 0x101c93f9
push esi
call fcn.101c9600
add esp, 4
test al, al
je 0x101c9075
push dword [esi + 0xe0]
push 0x1055bc5c
push esi
call fcn.101bce40
add esp, 0xc
mov edi, 0x16
test edi, edi
jne 0x101c93fe
cmp dword [esi + 0xe0], 0x12c
mov ebx, dword [esp + 0x30]
jl 0x101c91e4
cmp byte [ebx + 0x1d0], 0
jne case.default.0x101c90c9
cmp byte [ebx + 0x1c6], 0
jne case.default.0x101c90c9
cmp byte [esi + 0xd63], 0
jne case.default.0x101c90c9
movzx eax, byte [esi + 0xd4e]
dec eax
cmp eax, 3
ja case.default.0x101c90c9
jmp dword [eax*4 + 0x101c94bc]
push 0
push esi
call fcn.10192c50
add esp, 8
cmp byte [esi + 0x144], 0
jne case.default.0x101c90c9
cmp dword [esi + 0xe0], 0x1a1
jne 0x101c9136
cmp byte [esi + 0xd57], 0
je 0x101c9136
push 0x1056d11c
push esi
call fcn.101bcdb0
push dword [esi + 0xcac]
mov byte [esi + 0xd58], 1
call dword [0x10588178]
lea edi, [esi + 0x80]
mov dword [esi + 0x118], eax
push edi
push esi
call fcn.101c23e0
add esp, 0x14
jmp 0x101c91bb
cmp byte [esi + 0x6c7], 0
je 0x101c916f
push 0x10550024
push esi
call fcn.101bcdb0
add esp, 8
lea edi, [esi + 0x80]
cmp dword [esi + 0xf8], 0
jle 0x101c91bb
or dword [esi + 0xe4], 2
mov dword [esi + 0xf8], 0
jmp 0x101c91bb
push 0x1054fff8
push esi
call fcn.101bcdb0
push 2
push ebx
call fcn.101bde50
lea edi, [esi + 0x80]
push edi
push esi
call fcn.101c23e0
add esp, 0x18
test eax, eax
jne 0x101c85fa
mov byte [esi + 0x144], 1
cmp byte [esi + 0xd57], al
je 0x101c91bb
mov dword [esi + 0xf8], 3
jmp 0x101c91bb
lea edi, [esi + 0x80]
cmp byte [esi + 0xd63], 0
je 0x101c91ea
cmp dword [ebx + 0x1fc], 0xffffffff
je 0x101c91ea
push 0x1053bf94
push esi
call fcn.101bcdb0
add esp, 8
or dword [esi + 0xe4], 2
jmp 0x101c91ea
lea edi, [esi + 0x80]
cmp byte [ebp], 0
je 0x101c9384
lea eax, [esi + 0x8a4]
push eax
call fcn.101b2330
mov ebp, dword [esi + 0xd0]
add esp, 4
cmp byte [ebp], 0
je 0x101c85f8
mov ecx, dword [esp + 0x34]
mov eax, ebp
mov dword [esp + 0x14], eax
mov edi, dword [ecx]
push edi
push 0xa
push eax
mov dword [esp + 0x38], edi
call fcn.10366d60
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x101c9428
mov ebx, ebp
jmp 0x101c8520
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0xc8], 2
mov dword [eax], ecx
mov eax, dword [esp + 0x20]
pop edi
mov dword [esi + 0xd0], eax
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push 0x1055232c
push esi
call fcn.101bce40
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, 0x66666667
imul ebx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
add eax, eax
sub ebx, eax
push ebx
push ecx
push 0x10552354
push esi
call fcn.101bce40
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push 0x10552434
push esi
call fcn.101bce40
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push 0x10552300
push esi
call fcn.101bce40
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
pop edi
mov byte [esi + 0x142], 0
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, 0x10549c70
push eax
push esi
call fcn.101bce40
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov eax, 0x105481b8
push eax
push esi
call fcn.101bce40
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 8
pop ebx
add esp, 0x18
ret
push 0x1056bd1c
push esi
call fcn.101bcdb0
add esp, 8
mov dword [esi + 0xfc], 3
mov byte [esi + 0x142], 1
mov eax, 1
mov dword [esi + 0xcc], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push 0x1055ae94
push esi
call fcn.101bce40
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
cmp byte [esi + 0x14c], 0
mov ecx, dword [esp + 0x38]
jne 0x101c93b6
mov eax, dword [ebx + 0x1e0]
test dword [eax + 0x44], 0x40000
je 0x101c93b9
cmp dword [esi + 0x65c], 2
jne 0x101c93b9
cmp dword [edi + 4], 0xffffffff
jg 0x101c93b9
jl 0x101c93b6
cmp dword [edi], 0xffffffff
ja 0x101c93b9
mov byte [ecx], 1
cmp dword [esi + 0x88], 0
jne 0x101c93d0
cmp dword [esi + 0x8c], 0
jne 0x101c93d0
mov byte [ecx], 1
jmp 0x101c93d5
cmp byte [ecx], 0
je 0x101c93dc
and dword [esi + 0xe4], 0xfffffffe
push dword [esp + 0x24]
push dword [esp + 0x18]
push 1
push esi
call fcn.101bcf10
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov edi, 0x1b
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
push edi
push 0x1055bc5c
push esi
call fcn.101bce40
add esp, 0xc
mov eax, 0x16
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov ebx, dword [esp + 0x30]
push dword [esp + 0x2c]
lea ebp, [esi + 0x8a4]
push dword [esp + 0x18]
push ebp
call fcn.101b22b0
add esp, 0xc
test eax, eax
jne 0x101c85fa
cmp dword [esi + 0xcc], eax
jne 0x101c85f8
push ebp
call fcn.1019d450
add esp, 4
push eax
push ebp
call fcn.1019d250
add esp, 4
push eax
push ebx
push esi
call fcn.101c9f20
add esp, 0x10
cmp eax, 2
jne 0x101c85f8
push eax
push ebx
mov byte [esi + 0x142], 0
mov dword [esi + 0xc8], eax
call fcn.101bde50
add esp, 8
cmp byte [esi + 0x6e9], 0
jne 0x101c85f8
push 0x10558f48
push esi
call fcn.101bce40
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret