Function at 0x473a44
Capabilities:
Parse credit card information

Disassembly:
push 0xffffffffffffffff
push 0x55cf1a
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f168c]
xor eax, esp
push eax
lea eax, [esp + 0x110]
mov dword fs:[0], eax
mov dword [esp + 0x88], ecx
mov ebp, dword [esp + 0x120]
xor ebx, ebx
cmp ebp, ebx
je 0x4739cd
mov eax, dword [esp + 0x124]
cmp eax, ebx
je 0x4739cd
mov ecx, dword [0x5e9844]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x118], ebx
mov byte [esp + 0x2b], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x2a], bl
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], bl
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], bl
mov byte [esp + 0x1b], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x60], 7
mov dword [esp + 0xb0], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x48], 0xc
mov dword [esp + 0x14], ebp
mov esi, eax
mov dword [esp + 0x54], eax
cmp word [eax], bx
je 0x474345
movzx eax, word [esi]
cmp ax, 0x25
je 0x4739eb
push eax
call fcn.0050b81c
add esp, 4
test eax, eax
je 0x473993
movzx edx, word [ebp]
push edx
call fcn.0050b81c
add esp, 4
test eax, eax
je case.0x473a74.90
movzx eax, word [ebp + 2]
add ebp, 2
push eax
call fcn.0050b81c
add esp, 4
test eax, eax
jne 0x473976
mov dword [esp + 0x14], ebp
jmp case.0x473a74.90
mov cx, word [ebp]
add ebp, 2
mov dword [esp + 0x14], ebp
cmp cx, word [esi]
je case.0x473a74.90
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x118], 0xffffffff
cmp eax, 0xffffffff
je 0x4739cd
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4739cd
call fcn.0045ea90
xor eax, eax
mov ecx, dword [esp + 0x110]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x108
ret 0xc
movzx edx, word [esi + 2]
add esi, 2
push edx
xor edi, edi
mov dword [esp + 0x58], esi
call fcn.0050b809
add esp, 4
test eax, eax
je 0x473a2b
movzx ecx, word [esi]
movzx edx, word [esi + 2]
add esi, 2
lea eax, [edi + edi*4]
push edx
lea edi, [ecx + eax*2 - 0x30]
call fcn.0050b809
add esp, 4
test eax, eax
jne 0x473a05
mov dword [esp + 0x54], esi
test edi, edi
jne 0x473a5e
movzx eax, word [esi]
add eax, 0xffffffa7
cmp eax, 0x1e
ja case.0x473a3d.90
movzx eax, byte [eax + 0x4746cc]
jmp dword [eax*4 + 0x4746bc]
mov edi, 4
jmp 0x473a5e
mov edi, 3
jmp 0x473a5e
mov edi, 1
jmp 0x473a5e
mov edi, 2
movzx eax, word [esi]
movzx ecx, ax
cmp ecx, 0x79
ja case.0x473a74.0
movzx ecx, byte [ecx + 0x474748]
jmp dword [ecx*4 + 0x4746ec]
xor edx, edx
cmp ax, 0x61
sete dl
lea eax, [esp + 0xe4]
push eax
lea esi, [esp + 0x18]
inc edx
mov ebp, edx
call fcn.004710c0
push ebp
mov edi, eax
mov byte [esp + 0x120], 1
call fcn.00471ba0
mov esi, eax
add esp, 8
lea ecx, [esp + 0xe4]
mov dword [esp + 0x60], esi
mov byte [esp + 0x118], 0
call fcn.00401017
cmp esi, 7
je 0x4743d8
mov ebp, dword [esp + 0x14]
mov byte [esp + 0x2b], 1
jmp case.0x473a74.90
xor ecx, ecx
cmp ax, 0x62
sete cl
lea edx, [esp + 0xe8]
push edx
lea esi, [esp + 0x18]
inc ecx
mov ebp, ecx
call fcn.004710c0
push ebp
mov edi, eax
mov byte [esp + 0x120], 2
call fcn.00471a90
mov esi, eax
add esp, 8
lea ecx, [esp + 0xe8]
mov dword [esp + 0x48], esi
mov byte [esp + 0x118], 0
call fcn.00401017
cmp esi, 0xc
je 0x4743d8
mov ebp, dword [esp + 0x14]
mov byte [esp + 0x22], 1
jmp case.0x473a74.90
mov eax, dword [str._a__b__d__H:_M:_S__Y]
push 0x5e9e08
push eax
or edi, 0xffffffff
push ebp
lea ecx, [esp + 0xb4]
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb8], edi
call fcn.00473880
mov esi, eax
test esi, esi
jne 0x473baa
push 0x5e9e08
push str._x__X
push ebp
lea ecx, [esp + 0xb4]
call fcn.00473880
mov esi, eax
test esi, esi
jne 0x473baa
push 0x5e9e08
push str._X__x
push ebp
lea ecx, [esp + 0xb4]
call fcn.00473880
mov esi, eax
test esi, esi
je 0x474390
push 0
lea ecx, [esp + 0xd4]
call fcn.00470bb0
lea ecx, [esp + 0xd0]
push ecx
lea edx, [esp + 0x90]
push edx
lea ecx, [esp + 0xb0]
call fcn.00471580
movzx ecx, word [esp + 0x90]
movzx eax, word [esp + 0x92]
movzx edx, word [esp + 0x8e]
mov ebx, dword [esp + 0x9c]
mov dword [esp + 0x40], ecx
movzx ecx, word [esp + 0x94]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x98]
mov ebp, esi
mov byte [esp + 0x1b], 1
mov byte [esp + 0x1a], 1
mov byte [esp + 0x19], 1
mov byte [esp + 0x23], 1
mov byte [esp + 0x22], 1
mov byte [esp + 0x2a], 1
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x14], ebp
jmp case.0x473a74.90
lea edx, [esp + 0x24]
push edx
lea esi, [esp + 0x18]
call fcn.00470ad0
add esp, 4
test al, al
je 0x4743d8
mov eax, dword [esp + 0x24]
lea ecx, [eax - 1]
cmp ecx, 0x1e
ja 0x4743d8
mov ebp, dword [esp + 0x14]
movzx edx, ax
mov byte [esp + 0x2a], 1
mov dword [esp + 0x50], edx
jmp case.0x473a74.90
lea eax, [esp + 0x24]
push eax
lea esi, [esp + 0x18]
call fcn.00470ad0
add esp, 4
test al, al
je 0x4743d8
mov eax, dword [esp + 0x24]
cmp eax, 0x17
ja 0x4743d8
mov ebp, dword [esp + 0x14]
movzx ecx, ax
mov byte [esp + 0x19], 1
mov dword [esp + 0x3c], ecx
jmp case.0x473a74.90
lea edx, [esp + 0x24]
push edx
lea esi, [esp + 0x18]
call fcn.00470ad0
add esp, 4
test al, al
je 0x4743d8
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4743d8
cmp ecx, 0xc
ja 0x4743d8
mov ebp, dword [esp + 0x14]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 3
lea eax, [edx + edx*2]
add eax, eax
add eax, eax
sub ecx, eax
movzx ecx, cx
mov byte [esp + 0x19], 1
mov byte [esp + 0x39], 1
mov dword [esp + 0x3c], ecx
jmp case.0x473a74.90
lea edx, [esp + 0x24]
push edx
lea esi, [esp + 0x18]
call fcn.00470ad0
add esp, 4
test al, al
je 0x4743d8
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4743d8
cmp eax, 0x16e
ja 0x4743d8
mov ebp, dword [esp + 0x14]
movzx eax, ax
mov byte [esp + 0x3b], 1
mov dword [esp + 0xb0], eax
jmp case.0x473a74.90
lea ecx, [esp + 0x24]
push ecx
lea esi, [esp + 0x18]
call fcn.00470ad0
add esp, 4
test al, al
je 0x4743d8
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4743d8
cmp eax, 0xc
ja 0x4743d8
mov ebp, dword [esp + 0x14]
dec eax
mov byte [esp + 0x22], 1
mov dword [esp + 0x48], eax
jmp case.0x473a74.90
lea edx, [esp + 0x24]
push edx
lea esi, [esp + 0x18]
call fcn.00470ad0
add esp, 4
test al, al
je 0x4743d8
mov eax, dword [esp + 0x24]
cmp eax, 0x3b
ja 0x4743d8
mov ebp, dword [esp + 0x14]
movzx eax, ax
mov byte [esp + 0x1a], 1
mov dword [esp + 0x40], eax
jmp case.0x473a74.90
mov eax, dword [0x5e9844]
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], eax
lea ecx, [esp + 0x4c]
push ecx
lea esi, [esp + 0x18]
mov byte [esp + 0x11c], 4
call fcn.004710c0
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x124], 5
call fcn.00470c20
mov ecx, dword [esp + 0x3c]
add esp, 0xc
cmp dword [ecx - 8], 0
jne 0x473e2c
mov edx, dword [esp + 0x2c]
cmp dword [edx - 8], 0
je 0x4743a5
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x50]
call fcn.0045f6e0
test eax, eax
jne 0x473e45
mov byte [esp + 0x3a], 1
jmp 0x473e5b
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x50]
call fcn.0045f6e0
test eax, eax
jne 0x4743a5
lea ecx, [esp + 0x4c]
mov byte [esp + 0x118], 4
call fcn.00401017
lea ecx, [esp + 0x2c]
mov byte [esp + 0x118], 3
call fcn.00401017
lea ecx, [esp + 0x30]
mov byte [esp + 0x118], 0
call fcn.00401017
mov ebp, dword [esp + 0x14]
jmp case.0x473a74.90
push 0x5e9e08
push str._I:_M:_S__p
or esi, 0xffffffff
push ebp
lea ecx, [esp + 0xcc]
mov dword [esp + 0xcc], esi
mov dword [esp + 0xd0], esi
call fcn.00473880
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x4743f1
push 0
lea ecx, [esp + 0xe4]
mov byte [esp + 0x1f], 1
mov byte [esp + 0x1e], 1
mov byte [esp + 0x1d], 1
call fcn.00470bb0
lea edx, [esp + 0xe0]
push edx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0xc8]
call fcn.00471580
movzx ecx, word [esp + 0x6a]
movzx edx, word [esp + 0x68]
movzx eax, word [esp + 0x66]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
jmp case.0x473a74.90
push 0x5e9e08
push str._H:_M
or esi, 0xffffffff
push ebp
lea ecx, [esp + 0xd4]
mov dword [esp + 0xd4], esi
mov dword [esp + 0xd8], esi
call fcn.00473880
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x4743f1
push 0
lea ecx, [esp + 0xdc]
mov byte [esp + 0x1e], 1
mov byte [esp + 0x1d], 1
call fcn.00470bb0
lea ecx, [esp + 0xd8]
push ecx
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0xd0]
call fcn.00471580
movzx eax, word [esp + 0x6a]
movzx ecx, word [esp + 0x68]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
jmp case.0x473a74.90
lea edx, [esp + 0x24]
push edx
lea esi, [esp + 0x18]
call fcn.00470ad0
add esp, 4
test al, al
je 0x4743d8
mov eax, dword [esp + 0x24]
cmp eax, 0x3d
ja 0x4743d8
mov ebp, dword [esp + 0x14]
movzx eax, ax
mov byte [esp + 0x1b], 1
mov dword [esp + 0x44], eax
jmp case.0x473a74.90
push 0x5e9e08
push str._H:_M:_S
or esi, 0xffffffff
push ebp
lea ecx, [esp + 0x8c]
mov dword [esp + 0x8c], esi
mov dword [esp + 0x90], esi
call fcn.00473880
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x4743f1
push 0
lea ecx, [esp + 0xd8]
mov byte [esp + 0x1f], 1
mov byte [esp + 0x1e], 1
mov byte [esp + 0x1d], 1
call fcn.00470bb0
lea ecx, [esp + 0xd4]
push ecx
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x88]
call fcn.00471580
movzx eax, word [esp + 0x6a]
movzx ecx, word [esp + 0x68]
movzx edx, word [esp + 0x66]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
jmp case.0x473a74.90
lea eax, [esp + 0x24]
push eax
lea esi, [esp + 0x18]
call fcn.00470ad0
add esp, 4
test al, al
je 0x4743d8
cmp dword [esp + 0x60], 6
jg 0x4743d8
mov ecx, dword [esp + 0x24]
mov ebp, dword [esp + 0x14]
mov byte [esp + 0x2b], 1
mov dword [esp + 0x60], ecx
jmp case.0x473a74.90
or eax, 0xffffffff
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov eax, dword [0x5e9844]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea edx, [esp + 0xdc]
push edx
mov byte [esp + 0x11c], 7
call fcn.00471850
add esp, 4
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x11c], 8
call fcn.0045f4a0
lea ecx, [esp + 0xdc]
mov byte [esp + 0x118], 7
call fcn.00401017
mov eax, dword [esp + 0x2c]
cmp dword [eax - 8], 0
jne 0x474155
call fcn.00471270
push eax
call fcn.00471450
add esp, 4
test al, al
jne 0x474139
call fcn.00471270
cmp eax, 6
je 0x474139
push str._m__d__y
lea ecx, [esp + 0x30]
call fcn.0045fc90
push str._d__m__y
jmp 0x47414c
push str._d__m__y
lea ecx, [esp + 0x30]
call fcn.0045fc90
push str._m__d__y
lea ecx, [esp + 0x34]
call fcn.0045fc90
mov ecx, dword [esp + 0x2c]
push 0x5e9e08
push ecx
push ebp
lea ecx, [esp + 0xc0]
call fcn.00473880
mov esi, eax
test esi, esi
jne 0x47419c
mov eax, dword [esp + 0x30]
cmp dword [eax - 8], esi
je 0x474406
push 0x5e9e08
push eax
push ebp
lea ecx, [esp + 0xc0]
call fcn.00473880
mov esi, eax
test esi, esi
je 0x474406
push 0
lea ecx, [esp + 0xc0]
call fcn.00470bb0
lea edx, [esp + 0xbc]
push edx
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0xbc]
call fcn.00471580
mov ecx, dword [esp + 0x70]
movzx edx, word [esp + 0x6c]
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x48], ecx
mov ebp, esi
lea ecx, [esp + 0x30]
mov byte [esp + 0x23], 1
mov byte [esp + 0x22], 1
mov byte [esp + 0x2a], 1
mov dword [esp + 0x50], edx
mov dword [esp + 0x14], ebp
mov byte [esp + 0x118], 6
call fcn.00401017
lea ecx, [esp + 0x2c]
mov byte [esp + 0x118], 0
call fcn.00401017
jmp case.0x473a74.90
push 0x5e9e08
push 0x579518
or edi, 0xffffffff
push ebp
lea ecx, [esp + 0x64]
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
call fcn.00473880
mov esi, eax
test esi, esi
jne 0x474257
push 0x5e9e08
push 0x579510
push ebp
lea ecx, [esp + 0x64]
call fcn.00473880
mov esi, eax
test esi, esi
je 0x474390
push 0
lea ecx, [esp + 0x38]
mov byte [esp + 0x1f], 1
mov byte [esp + 0x1e], 1
mov byte [esp + 0x1d], 1
call fcn.00470bb0
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x60]
call fcn.00471580
movzx edx, word [esp + 0x6a]
movzx eax, word [esp + 0x68]
movzx ecx, word [esp + 0x66]
mov ebp, esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x14], ebp
jmp case.0x473a74.90
lea edx, [esp + 0x24]
push edx
lea esi, [esp + 0x18]
call fcn.00470ad0
add esp, 4
test al, al
je 0x4743d8
mov eax, dword [esp + 0x24]
cmp eax, 0x63
ja 0x4743d8
mov ebp, dword [esp + 0x14]
mov ecx, 0x1e
cmp ecx, eax
sbb ebx, ebx
and ebx, 0xffffff9c
movzx edx, ax
add ebx, 0x7d0
mov byte [esp + 0x23], 1
add ebx, edx
jmp case.0x473a74.90
lea eax, [esp + 0x24]
push eax
lea esi, [esp + 0x18]
call fcn.00470ad0
add esp, 4
test al, al
je 0x4743d8
movzx ebx, word [esp + 0x24]
mov ebp, dword [esp + 0x14]
mov byte [esp + 0x23], 1
jmp case.0x473a74.90
mov cx, word [ebp]
add ebp, 2
mov dword [esp + 0x14], ebp
cmp cx, 0x25
jne 0x4743d8
mov esi, dword [esp + 0x54]
add esi, 2
cmp word [esi], 0
mov dword [esp + 0x54], esi
jne 0x473947
lea ecx, [esp + 0x64]
call fcn.004707c0
mov esi, dword [esp + 0x128]
mov edx, dword [esi]
mov ecx, dword [0x5e9e08]
cmp edx, ecx
jne 0x474371
mov edx, dword [esi + 4]
mov eax, dword [0x5e9e0c]
cmp edx, eax
je 0x47441d
push 0
lea ecx, [esp + 0x38]
call fcn.00470bb0
lea eax, [esp + 0x34]
lea ecx, [esp + 0x8c]
push eax
push ecx
mov ecx, esi
jmp 0x47449a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x118], edi
call fcn.00401017
jmp 0x4739cd
lea ecx, [esp + 0x4c]
mov byte [esp + 0x118], 4
call fcn.00401017
lea ecx, [esp + 0x2c]
mov byte [esp + 0x118], 3
call fcn.00401017
lea ecx, [esp + 0x30]
mov byte [esp + 0x118], 0
call fcn.00401017
lea ecx, [esp + 0x1c]
mov dword [esp + 0x118], 0xffffffff
call fcn.00401017
jmp 0x4739cd
lea ecx, [esp + 0x1c]
mov dword [esp + 0x118], esi
call fcn.00401017
jmp 0x4739cd
lea ecx, [esp + 0x30]
mov byte [esp + 0x118], 6
call fcn.00401017
lea ecx, [esp + 0x2c]
jmp 0x4743cb
mov edx, dword [esp + 0x88]
mov esi, dword [edx]
cmp esi, ecx
jne 0x474431
mov edx, dword [edx + 4]
cmp edx, eax
je 0x474452
push 0
lea ecx, [esp + 0x38]
call fcn.00470bb0
lea eax, [esp + 0x34]
lea ecx, [esp + 0x8c]
push eax
push ecx
mov ecx, dword [esp + 0x90]
jmp 0x47449a
xor esi, esi
push esi
lea ecx, [esp + 0x38]
call fcn.00470bb0
lea edx, [esp + 0xec]
push edx
call fcn.00470aa0
add esp, 4
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
call fcn.00470dd0
lea ecx, [esp + 0x58]
call fcn.00472300
lea eax, [esp + 0x34]
lea ecx, [esp + 0x8c]
push eax
push ecx
lea ecx, [esp + 0x60]
call fcn.00471580
cmp byte [esp + 0x23], 0
mov ecx, 7
lea edi, [esp + 0x64]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 7
lea esi, [esp + 0x64]
lea edi, [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
mov esi, ebx
jne 0x4744ce
mov esi, dword [esp + 0x9c]
cmp byte [esp + 0x22], 0
je 0x474518
cmp byte [esp + 0x2a], 0
je 0x474518
push 0
push esi
call fcn.00471dd0
mov ecx, dword [esp + 0x50]
movzx eax, al
lea edx, [eax + eax*2]
lea eax, [ecx + edx*4]
movzx eax, word [eax*2 + 0x5e9e90]
mov edx, dword [esp + 0x58]
add esp, 8
cmp dx, ax
ja case.0x473a74.0
mov eax, ecx
mov word [esp + 0x94], dx
jmp 0x4745c7
cmp byte [esp + 0x3b], 0
je 0x4745c0
xor ebx, ebx
push ebx
push esi
call fcn.00471e60
mov edi, dword [esp + 0xb8]
add esp, 8
cmp di, ax
jbe 0x474563
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x118], 0xffffffff
cmp eax, 0xffffffff
je 0x4739cd
dec eax
mov dword [ecx], eax
cmp eax, ebx
jmp 0x4739c6
push ebx
lea ecx, [esp + 0x38]
call fcn.00470bb0
push ebx
push ebx
push ebx
push ebx
push esi
push ebx
push 1
lea ecx, [esp + 0x9c]
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
call fcn.00472030
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x68]
push edx
push edi
lea ecx, [esp + 0x8c]
call fcn.004721d0
mov ecx, eax
call fcn.00471580
mov cx, word [esp + 0x6c]
mov eax, dword [esp + 0x70]
mov word [esp + 0x94], cx
jmp 0x4745c7
mov eax, dword [esp + 0x98]
cmp byte [esp + 0x19], 0
je 0x4745ee
cmp byte [esp + 0x39], 0
je 0x4745e1
cmp byte [esp + 0x3a], 0
je 0x4745e1
add dword [esp + 0x3c], 0xc
mov dx, word [esp + 0x3c]
mov word [esp + 0x92], dx
cmp byte [esp + 0x1a], 0
je 0x474602
mov cx, word [esp + 0x40]
mov word [esp + 0x90], cx
cmp byte [esp + 0x1b], 0
je 0x474616
mov dx, word [esp + 0x44]
mov word [esp + 0x8e], dx
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x8e]
push ecx
mov ecx, dword [esp + 0x94]
push edx
mov edx, dword [esp + 0x9a]
push ecx
push edx
push esi
mov esi, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0xac]
push eax
mov ecx, esi
call fcn.00472030
cmp byte [esp + 0x2b], 0
je 0x47468f
push 0
lea ecx, [esp + 0x38]
call fcn.00470bb0
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x68]
push edx
mov ecx, esi
call fcn.00471580
mov esi, eax
cmp word [esi + 0x18], 7
jne 0x474681
mov ecx, esi
call fcn.00470860
movzx eax, word [esi + 0x18]
cmp eax, dword [esp + 0x60]
jne case.0x473a74.0
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
mov dword [esp + 0x118], 0xffffffff
cmp eax, 0xffffffff
je 0x4746b5
add eax, 0xffffffff
mov dword [ecx], eax
jne 0x4746b5
call fcn.0045ea90
mov eax, ebp
jmp 0x4739cf