Function at 0x40d520
Capabilities:
Encode data using base64
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xec
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xe8], ecx
xor edx, edx
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
call fcn.0040b980
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 0xc8], eax
cmp byte [eax], 0x21
je 0x40e272
push eax
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xe0]
call fcn.0040f9d0
add esp, 0x10
test eax, eax
je 0x40dcc7
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
mov dword [ebp - 0x70], esi
mov bl, byte [esi]
cmp bl, 0x3b
je 0x40e850
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [ebp - 0xd4], 0
add eax, 0x40
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa8], 0
mov dword [ebp - 0xec], eax
push edi
push edi
push 0x3a
push esi
call sub.msvcrt.dll_strchr
add esp, 0x10
mov edi, eax
test eax, eax
je 0x40db82
cmp byte [eax + 1], 0x3a
jne 0x40db82
cmp bl, 0x6f
jne 0x40d629
cmp byte [esi + 1], 0x70
je 0x40e4da
mov edx, edi
mov eax, esi
sub edx, esi
lea esi, [edi + 2]
call fcn.0040b270
mov edx, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
mov dword [edx], esi
sub esp, 0xc
push 0x28
call fcn.00496770
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xb0], 0xa
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x74], 0
add esp, 0x10
mov edx, dword [ebp - 0x60]
test edx, edx
je 0x40e003
mov edx, dword [ebp + 8]
mov ebx, dword [ebp - 0x60]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
lea esi, [eax + 1]
mov dword [ecx], esi
push eax
push eax
push 0x3b
push esi
call sub.msvcrt.dll_strchr
add esp, 0x10
mov esi, eax
test eax, eax
je 0x40e039
push eax
push eax
push ebx
mov eax, dword [ebp - 0xe0]
push eax
call fcn.00408490
add esp, 0x10
cmp eax, 0x13
je 0x40dce0
xor edi, edi
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov edx, esi
sub edx, eax
call fcn.0040b270
lea ecx, [esi + 1]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov al, byte [esi + 1]
mov dword [ebp - 0xb4], 2
cmp al, 0x30
je 0x40d703
cmp al, 0x31
sete al
and eax, 0xff
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp + 8]
lea edx, [ecx + 1]
mov dword [eax], edx
mov al, byte [ecx + 1]
sub eax, 0x2a
cmp al, 0x1a
jbe 0x40dd07
mov edx, str.const_volatile_indicator_missing
mov eax, dword [ebp - 0x70]
call fcn.0040b160
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov al, byte [edx]
cmp al, 0x2e
je 0x40dd37
cmp al, 0x3f
je 0x40df50
cmp al, 0x2a
je 0x40dfb0
mov edx, str.member_function_type_missing
mov eax, dword [ebp - 0x70]
call fcn.0040b160
mov dword [ebp - 0x60], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x64], 0
mov eax, dword [ebp - 0xa8]
test edi, edi
mov dword [ebp - 0xc0], eax
je 0x40da74
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xe0]
call fcn.0040b3a0
mov dword [ebp - 0x88], eax
test eax, eax
je 0x40dc73
push eax
push eax
push ebx
mov eax, dword [ebp - 0xe0]
push eax
call fcn.00408450
add esp, 0x10
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x40e039
mov edx, dword [ebp - 0xa8]
mov bl, byte [edx]
cmp bl, 0x5f
jne 0x40d7f5
cmp byte [edx + 1], 0x5f
je 0x40de02
cld
mov edi, 0x4b6442
mov ecx, 4
mov esi, dword [ebp - 0xa8]
repe cmpsb byte [esi], byte es:[edi]
je 0x40de17
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x40d83f
push eax
push eax
mov edi, dword [ebp - 0xe8]
push edi
mov esi, dword [ebp - 0xa0]
push esi
call sub.msvcrt.dll_strcmp
add esp, 0x10
mov dword [ebp - 0x7c], 0
test eax, eax
je 0x40de1e
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
lea esi, [esi]
cmp bl, 0x5f
jne 0x40d870
mov edx, dword [ebp - 0xa8]
mov al, byte [edx + 1]
cmp al, 0x24
je 0x40e092
cmp al, 0x2e
je 0x40e092
nop
cld
mov edi, 0x4b6447
mov ecx, 4
mov esi, dword [ebp - 0xa8]
repe cmpsb byte [esi], byte es:[edi]
sete al
and eax, 0xff
mov dword [ebp - 0x84], eax
xor eax, eax
cmp bl, 0x5f
je 0x40e0b0
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x84]
or ecx, edx
xor edi, edi
mov dword [ebp - 0x7c], ecx
or eax, dword [ebp - 0x7c]
jne 0x40da2d
mov eax, dword [ebp - 0xe8]
test eax, eax
je 0x40d8d3
sub esp, 0xc
mov esi, dword [ebp - 0xe8]
push esi
call sub.msvcrt.dll_strlen
add esp, 0x10
mov edi, eax
mov ebx, dword [ebp - 0x90]
mov esi, 0x4b644c
test ebx, ebx
jne 0x40d8e7
mov esi, 0x4b644e
mov ecx, dword [ebp - 0x94]
mov ebx, 0x4b644f
test ecx, ecx
jne 0x40d8fb
mov ebx, 0x4b644e
test edi, edi
je 0x40e24b
mov edx, dword [ebp - 0xe8]
test edx, edx
je 0x40e1ff
push eax
push eax
push 0x3c
mov eax, dword [ebp - 0xe8]
push eax
call sub.msvcrt.dll_strchr
add esp, 0x10
test eax, eax
je 0x40e1ff
lea ecx, [ebp - 0x40]
push ebx
push esi
push str.___s_s
mov dword [ebp - 0xf0], ecx
push ecx
xor edi, edi
call fcn.0040bae0
mov dword [ebp - 0x68], 0
add esp, 0x10
mov eax, dword [ebp - 0x80]
xor ebx, ebx
test eax, eax
je 0x40e232
lea esi, [ebp - 0x40]
mov eax, dword [esi]
add esi, 4
lea edx, [eax - 0x1010101]
xor eax, 0xffffffff
and edx, eax
and edx, 0x80808080
je 0x40d95e
test edx, 0x8080
jne 0x40d984
shr edx, 0x10
add esi, 2
add dl, dl
mov eax, dword [ebp - 0xf0]
sbb esi, 3
sub esp, 0xc
sub esi, eax
mov eax, dword [ebp - 0xa8]
push eax
call sub.msvcrt.dll_strlen
mov edx, dword [ebp - 0xa0]
add esp, 0x10
lea eax, [esi + eax + 1]
add eax, edi
cmp byte [edx], 0x6f
lea ebx, [eax + ebx]
jne 0x40d9c1
cmp byte [edx + 1], 0x70
je 0x40e3dc
sub esp, 0xc
push ebx
call fcn.00496770
mov esi, eax
mov eax, dword [ebp - 0x80]
add esp, 0x10
test eax, eax
je 0x40e2c6
mov byte [esi], 0
sub esp, 0xc
push esi
call sub.msvcrt.dll_strlen
pop edx
pop ecx
lea ecx, [ebp - 0x40]
mov edi, eax
push ecx
push esi
call sub.msvcrt.dll_strcat
mov eax, dword [ebp - 0x68]
add esp, 0x10
test eax, eax
je 0x40da0d
push eax
push eax
mov ebx, dword [ebp - 0x68]
push ebx
push esi
call sub.msvcrt.dll_strcat
add esp, 0x10
push ecx
push ecx
mov edx, dword [ebp - 0xa8]
push edx
push esi
call sub.msvcrt.dll_strcat
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xc0], esi
add esp, 0x10
mov bl, byte [eax]
test bl, bl
jne 0x40de65
sub esp, 0xc
push 4
call fcn.00496770
mov dword [eax], 0
mov dword [esp], 0
push eax
mov ecx, dword [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0xe0]
push eax
call fcn.0040a2b0
add esp, 0x20
mov ebx, eax
test eax, eax
je 0x40dc73
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 0xac]
cmp dword [ebp - 0xb0], edx
jbe 0x40de30
mov eax, dword [ebp - 0xb8]
test eax, eax
jne 0x40ddc3
mov edi, dword [ebp - 0x64]
push edi
mov esi, dword [ebp - 0xbc]
push esi
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x90]
push edx
mov eax, dword [ebp - 0xb4]
push eax
push ebx
mov eax, dword [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0xe0]
push eax
call fcn.0040a110
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x74]
add esp, 0x20
mov dword [ecx + edx], eax
test eax, eax
je 0x40dc73
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov ecx, dword [ebp - 0x74]
add ecx, 4
mov dl, byte [eax]
mov dword [ebp - 0x74], ecx
cmp dl, 0x3b
je 0x40db09
test dl, dl
jne 0x40d677
mov edx, dword [ebp - 0xac]
mov ecx, dword [ebp - 0xa4]
mov dword [ecx + edx*4], 0
cmp byte [eax], 0
jne 0x40e2dd
mov edi, dword [ebp - 0x98]
inc edi
mov dword [ebp - 0x98], edi
mov edx, dword [ebp - 0x98]
cmp dword [ebp - 0x9c], edx
jbe 0x40e45d
push edx
mov eax, dword [ebp - 0xa4]
push eax
mov eax, dword [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0xe0]
push eax
call fcn.0040a150
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebp - 0xd4]
add esp, 0x10
mov dword [edx + ecx*4 - 4], eax
mov ecx, dword [ebp + 8]
mov esi, dword [ecx]
mov bl, byte [esi]
cmp bl, 0x3b
jne 0x40d5f9
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x40db9f
mov eax, dword [ebp - 0x98]
mov edx, dword [ebp - 0xd4]
mov dword [edx + eax*4], 0
mov dword [ebp - 0x70], esi
mov edi, esi
mov al, byte [esi]
cmp al, 0x3b
je 0x40e85a
cmp al, 0x7e
je 0x40e78a
xor ecx, ecx
xor eax, eax
mov esi, dword [ebp - 0x14]
test esi, esi
jne 0x40dbcf
mov ebx, dword [ebp - 0xd8]
test ebx, ebx
je 0x40e88b
push eax
push ecx
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0xd8]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xdc]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xe0]
push eax
call fcn.0040a5a0
add esp, 0x20
jmp 0x40dcd4
xor eax, eax
mov dl, byte [ebx + 2]
mov al, dl
lea ecx, [ebx + 2]
test byte [eax + eax + 0x4dbc60], 4
jne 0x40e3d4
cmp dl, 0x51
je 0x40e3d4
cmp dl, 0x74
je 0x40e3d4
mov eax, ebx
cmp byte [ebx], 0x5f
jne 0x40dc39
inc eax
cmp byte [eax], 0x5f
je 0x40dc33
push edx
push edx
push 0x4b649c
push eax
call sub.msvcrt.dll_strstr
add esp, 0x10
test eax, eax
je 0x40dc57
cmp byte [eax + 2], 0
jne 0x40e8d0
mov eax, esi
call fcn.0040b140
nop
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x40dc73
sub esp, 0xc
push eax
call fcn.004ae988
add esp, 0x10
mov eax, dword [ebp - 0xa0]
test eax, eax
je 0x40dc8f
sub esp, 0xc
mov eax, dword [ebp - 0xa0]
push eax
call fcn.004ae988
add esp, 0x10
mov edi, dword [ebp - 0xa4]
test edi, edi
je 0x40dcab
sub esp, 0xc
mov esi, dword [ebp - 0xa4]
push esi
call fcn.004ae988
add esp, 0x10
mov ebx, dword [ebp - 0xa8]
test ebx, ebx
je 0x40dcc7
sub esp, 0xc
mov ecx, dword [ebp - 0xa8]
push ecx
call fcn.004ae988
add esp, 0x10
mov edx, dword [ebp - 0x10]
xor eax, eax
test edx, edx
jne 0x40e2b0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
mov edi, dword [ebp - 0xe0]
push edi
call fcn.004083f0
mov edi, 1
add esp, 0x10
test eax, eax
jne 0x40d6c4
jmp 0x40d6c6
and eax, 0xff
jmp dword [eax*4 + 0x4b64c8]
mov eax, dword [ebp + 8]
inc edx
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x94], 1
mov dword [eax], edx
mov al, byte [edx]
cmp al, 0x2e
jne 0x40d749
mov ecx, dword [ebp + 8]
lea esi, [edx + 1]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0xb8], 0
mov dword [ecx], esi
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x64], 0
jmp 0x40d788
mov ecx, dword [ebp + 8]
inc edx
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 1
mov dword [ecx], edx
jmp 0x40d73f
mov eax, dword [ebp + 8]
inc edx
mov dword [ebp - 0x90], 1
mov dword [ebp - 0x94], 0
mov dword [eax], edx
jmp 0x40d73f
mov ecx, dword [ebp + 8]
inc edx
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov dword [ecx], edx
jmp 0x40d73f
push eax
push eax
mov eax, dword [ebp - 0x94]
push eax
mov eax, dword [ebp - 0x90]
push eax
mov edi, dword [ebp - 0xb4]
push edi
push ebx
mov esi, dword [ebp - 0xc0]
push esi
mov ebx, dword [ebp - 0xe0]
push ebx
call fcn.0040a0d0
mov ecx, dword [ebp - 0xa4]
mov edx, dword [ebp - 0x74]
add esp, 0x20
mov dword [ecx + edx], eax
jmp 0x40dae4
xor eax, eax
mov dl, byte [edx + 2]
mov al, dl
test byte [eax + eax + 0x4dbc60], 4
je 0x40e2ea
mov dword [ebp - 0x7c], 1
mov dword [ebp - 0x80], 1
jmp 0x40d850
mov eax, dword [ebp - 0xb0]
add eax, 0xa
mov dword [ebp - 0xb0], eax
push eax
push eax
mov eax, dword [ebp - 0xb0]
shl eax, 2
push eax
mov eax, dword [ebp - 0xa4]
push eax
call fcn.004966d0
add esp, 0x10
mov dword [ebp - 0xa4], eax
jmp 0x40da93
mov eax, dword [ebp - 0x84]
test eax, eax
jne 0x40da35
mov edx, dword [ebp - 0xc0]
mov dword [ebp - 0x20], edx
cmp byte [edx], 0x5f
jne 0x40de8b
cmp byte [edx + 1], 0x5a
je 0x40e492
sub esp, 0xc
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x44], 0xa
push 0x50
call fcn.00496770
add esp, 0x10
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 0
test edi, edi
je 0x40e046
mov ebx, dword [ebp - 0x20]
lea esi, [ebx + edi]
cmp esi, ebx
je 0x40dc02
cmp byte [esi + 2], 0
je 0x40e1f3
mov ecx, esi
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x5c]
call fcn.0040d490
test eax, eax
je 0x40dc60
mov edi, dword [ebp - 0x20]
mov al, byte [edi]
test al, al
je 0x40e122
mov ebx, edi
mov dword [ebp - 0x78], 0
xor edx, edx
xor esi, esi
sub eax, 0x30
cmp al, 0x44
jbe 0x40e0c7
sub esp, 0xc
lea ecx, [ebp - 0x50]
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x54]
call fcn.0040d330
add esp, 0x10
test eax, eax
je 0x40dc60
mov edx, 1
jmp 0x40e0e1
lea esi, [edx + 1]
mov edx, dword [ebp + 8]
sub esp, 0xc
mov eax, dword [ebp - 0xa0]
mov dword [edx], esi
push eax
call sub.msvcrt.dll_strlen
add esp, 0xc
push eax
mov eax, dword [ebp - 0xa0]
push eax
mov eax, dword [ebp - 0xa8]
push eax
call sub.msvcrt.dll_strncmp
add esp, 0x10
test eax, eax
jne 0x40e1c0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0xb8], 1
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x64], 0
jmp 0x40d788
mov eax, dword [ebp + 8]
lea esi, [edx + 1]
xor edx, edx
mov dword [eax], esi
call fcn.0040b980
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
cmp byte [edx], 0x3b
jne 0x40e039
mov ecx, dword [ebp + 8]
and eax, 0x7fffffff
lea esi, [edx + 1]
mov dword [ebp - 0xbc], eax
mov dword [ecx], esi
cmp byte [edx + 1], 0x3b
jne 0x40e161
mov dword [ebp - 0x60], 0
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0x64], 0
jmp 0x40d788
push eax
push eax
push 0
xor ecx, ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xe0]
call fcn.0040e920
add esp, 0x10
mov ebx, eax
test eax, eax
je 0x40dc73
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
cmp byte [eax], 0x3a
je 0x40d68a
mov eax, dword [ebp - 0x70]
call fcn.0040b180
jmp 0x40dc73
mov ebx, dword [ebp - 0x20]
mov edx, ebx
nop
lea esi, [esi]
push esi
push esi
push 0x5f
push edx
call sub.msvcrt.dll_strchr
add esp, 0x10
test eax, eax
je 0x40e1f3
lea edx, [eax + 1]
cmp byte [eax + 1], 0x5f
jne 0x40e050
mov esi, eax
push ecx
push ecx
push 0x4b649a
push eax
call sub.msvcrt.dll_strspn
add esp, 0x10
cmp eax, 2
jbe 0x40ded7
lea esi, [esi + eax - 2]
jmp 0x40ded7
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x84], 1
cmp byte [ecx + 2], 0x5f
jne 0x40d870
lea esi, [esi]
mov eax, dword [ebp - 0xa8]
cmp byte [eax + 1], 0x5a
sete al
and eax, 0xff
jmp 0x40d89c
and eax, 0xff
jmp dword [eax*4 + 0x4b6534]
test esi, esi
je 0x40e69f
lea eax, [ebx + 1]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x78]
test eax, eax
je 0x40e10d
sub esp, 0xc
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x54]
lea edx, [ebp - 0x20]
push eax
lea eax, [ebp - 0x5c]
call fcn.0040d330
add esp, 0x10
test eax, eax
je 0x40dc60
mov edx, 1
mov ebx, dword [ebp - 0x20]
mov al, byte [ebx]
test al, al
jne 0x40df18
test edx, edx
je 0x40e6e1
sub esp, 0xc
mov eax, dword [ebp - 0x4c]
push eax
call fcn.004ae988
mov eax, dword [ebp - 0x54]
add esp, 0x10
mov dword [ebp - 0x4c], 0
test eax, eax
je 0x40e706
mov eax, dword [ebp - 0x50]
mov ebx, dword [ebp - 0x54]
mov dword [ebp - 0x1c], eax
test ebx, ebx
je 0x40dc73
sub esp, 0xc
mov esi, dword [ebp - 0x1c]
push esi
push ebx
jmp 0x40da4d
push ecx
push ecx
push 0
xor ecx, ecx
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xe0]
call fcn.0040e920
mov edx, dword [ebp + 8]
mov dword [ebp - 0x60], eax
mov eax, dword [edx]
add esp, 0x10
mov dl, byte [eax]
cmp dl, 0x3a
je 0x40e447
cmp dl, 0x3b
jne 0x40e039
mov ecx, dword [ebp + 8]
lea esi, [eax + 1]
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xb8], 0
mov dword [ecx], esi
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 0
jmp 0x40d788
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xb8], 1
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0x64], 0
jmp 0x40d79c
mov eax, ebx
call fcn.0040b140
jmp 0x40dc60
sub esp, 0xc
lea edx, [ebp - 0x40]
push edi
push ebx
push esi
push str.___s_s_d
mov dword [ebp - 0xf0], edx
push edx
call fcn.0040bae0
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x80]
add esp, 0x20
xor ebx, ebx
test eax, eax
jne 0x40d95b
sub esp, 0xc
mov eax, dword [ebp - 0xa0]
push eax
call sub.msvcrt.dll_strlen
add esp, 0x10
mov ebx, eax
jmp 0x40d95b
lea ecx, [ebp - 0x40]
push ebx
push esi
push str.___s_s
mov dword [ebp - 0xf0], ecx
push ecx
call fcn.0040bae0
mov edx, dword [ebp - 0xe8]
add esp, 0x10
mov dword [ebp - 0x68], edx
jmp 0x40d94e
mov edx, dword [ebp + 8]
mov esi, eax
inc esi
mov eax, dword [ebp + 8]
mov dword [edx], esi
xor edx, edx
call fcn.0040b980
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xc4], eax
mov eax, dword [ecx]
cmp byte [eax], 0x2c
je 0x40e510
mov eax, dword [ebp - 0xc8]
call fcn.0040b180
mov edx, dword [ebp - 0x10]
xor eax, eax
test edx, edx
je 0x40dcd4
sub esp, 0xc
push edx
call fcn.004ae988
xor eax, eax
add esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
push edi
push edi
mov ebx, dword [ebp - 0xa0]
push ebx
push esi
call sub.msvcrt.dll_strcpy
add esp, 0x10
jmp 0x40d9dd
lea esi, [eax + 1]
mov eax, dword [ebp + 8]
mov dword [eax], esi
jmp 0x40db25
cmp dl, 0x51
je 0x40de17
cmp dl, 0x74
jne 0x40d7f5
jmp 0x40de17
test esi, esi
je 0x40e768
xor ecx, ecx
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x5c]
call fcn.0040c200
test eax, eax
je 0x40dc60
mov ecx, dword [ebp - 0x20]
mov edx, esi
sub ecx, esi
lea eax, [ebp - 0x5c]
call fcn.0040b1a0
test eax, eax
je 0x40dc60
xor esi, esi
mov dword [ebp - 0x78], 1
jmp 0x40e0e8
mov eax, edi
call fcn.0040b140
jmp 0x40dc60
xor ecx, ecx
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x5c]
call fcn.0040c5c0
test eax, eax
je 0x40dc60
mov ecx, dword [ebp - 0x20]
mov edx, ebx
sub ecx, ebx
lea eax, [ebp - 0x5c]
call fcn.0040b1a0
test eax, eax
jne 0x40e335
jmp 0x40dc60
sub esp, 0xc
lea eax, [ebx + 1]
lea edx, [ebp - 0x50]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x5c]
lea edx, [ebp - 0x20]
call fcn.0040d330
add esp, 0x10
test eax, eax
je 0x40dc60
mov edx, 1
xor esi, esi
jmp 0x40e0e1
test esi, esi
je 0x40e761
xor ecx, ecx
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x5c]
call fcn.0040ba70
test eax, eax
jne 0x40e31e
jmp 0x40dc60
mov dword [ebp - 0x20], ecx
jmp 0x40defe
mov al, byte [edx + 2]
cmp al, 0x24
je 0x40e3eb
cmp al, 0x2e
jne 0x40d9c1
push edi
push edi
push 0
mov eax, dword [ebp - 0xa0]
add eax, 3
push eax
call fcn.004988c0
add esp, 0x10
mov edi, eax
test eax, eax
je 0x40e8e2
sub esp, 0xc
push eax
call sub.msvcrt.dll_strlen
lea eax, [ebx + eax]
mov dword [esp], eax
call fcn.00496770
add esp, 0xc
mov esi, eax
push 3
mov ecx, dword [ebp - 0xa0]
push ecx
push eax
call sub.msvcrt.dll_strncpy
pop eax
lea eax, [esi + 3]
pop edx
push edi
push eax
call sub.msvcrt.dll_strcpy
add esp, 0x10
jmp 0x40d9dd
mov dword [ebp - 0xb8], 0
mov dword [ebp - 0x64], 0
jmp 0x40d788
mov esi, dword [ebp - 0x9c]
add esi, 0xa
mov dword [ebp - 0x9c], esi
push ebx
push ebx
mov eax, dword [ebp - 0x9c]
shl eax, 2
push eax
mov ecx, dword [ebp - 0xd4]
push ecx
call fcn.004966d0
add esp, 0x10
mov dword [ebp - 0xd4], eax
jmp 0x40db44
push eax
lea eax, [ebp - 0x24]
push eax
push 3
push edx
call fcn.0049cf10
add esp, 0x10
test eax, eax
je 0x40e870
cmp dword [eax], 3
je 0x40e6a6
push eax
push eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
push str.Demangled_name_is_not_a_function_n
add eax, 0x40
push eax
call fcn.0040b120
pop eax
mov eax, dword [ebp - 0x24]
push eax
call fcn.004ae988
add esp, 0x10
jmp 0x40dc73
cmp byte [esi + 2], 0x24
jne 0x40d629
lea ecx, [eax + 2]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], ecx
mov esi, ecx
mov dword [eax], ecx
mov al, byte [edi + 2]
cmp al, 0x2e
setne cl
jne 0x40e721
mov ebx, esi
test cl, cl
jne 0x40e039
jmp 0x40e736
mov edx, dword [ebp - 0xc4]
lea esi, [eax + 1]
mov eax, dword [ebp + 8]
sub esp, 0xc
mov dword [eax], esi
lea eax, [edx*4 + 4]
push eax
call fcn.00496770
mov edi, dword [ebp - 0xc4]
mov dword [ebp - 0xd8], eax
add esp, 0x10
xor eax, eax
test edi, edi
je 0x40e778
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xcc], 0
mov edx, dword [ecx]
jmp 0x40e674
mov edx, str.unknown_virtual_character_for_baseclass
mov eax, dword [ebp - 0xc8]
call fcn.0040b160
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd0], 0
mov edx, dword [eax]
mov ecx, dword [ebp + 8]
lea eax, [edx + 1]
mov ebx, 1
mov dword [ecx], eax
mov dl, byte [edx + 1]
cmp dl, 0x31
je 0x40e5c0
xor bl, bl
cmp dl, 0x32
je 0x40e5c0
mov bl, 2
cmp dl, 0x30
je 0x40e5c0
mov edx, str.unknown_visibility_character_for_baseclass
mov eax, dword [ebp - 0xc8]
call fcn.0040b160
mov edx, dword [ebp + 8]
xor ebx, ebx
mov eax, dword [edx]
lea esi, [esi]
mov ecx, dword [ebp + 8]
lea esi, [eax + 1]
xor edx, edx
mov eax, ecx
mov dword [ecx], esi
call fcn.0040b980
mov edx, dword [ebp + 8]
mov edi, eax
mov eax, dword [edx]
cmp byte [eax], 0x2c
jne 0x40e298
mov ecx, dword [ebp + 8]
lea esi, [eax + 1]
mov dword [ecx], esi
push esi
push esi
push 0
push ecx
xor ecx, ecx
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xe0]
call fcn.0040e920
add esp, 0x10
test eax, eax
je 0x40dcc7
sub esp, 0xc
push ebx
mov edx, dword [ebp - 0xd0]
push edx
push edi
push eax
mov eax, dword [ebp - 0xe0]
push eax
call fcn.0040a1f0
mov edx, dword [ebp - 0xcc]
mov ecx, dword [ebp - 0xd8]
add esp, 0x20
test eax, eax
mov dword [ecx + edx*4], eax
je 0x40dcc7
mov edx, dword [ebp + 8]
mov eax, dword [edx]
cmp byte [eax], 0x3b
jne 0x40dcc7
lea edx, [eax + 1]
mov eax, dword [ebp - 0xcc]
inc eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xc4]
mov dword [ecx], edx
cmp dword [ebp - 0xcc], eax
je 0x40e76f
mov al, byte [edx]
mov dword [ebp - 0xd0], 0
cmp al, 0x30
je 0x40e57f
cmp al, 0x31
jne 0x40e560
mov dword [ebp - 0xd0], 1
jmp 0x40e57f
mov esi, ebx
jmp 0x40e0db
mov eax, dword [eax + 8]
cmp dword [eax], 0x29
jne 0x40e4b3
sub esp, 0xc
mov ecx, dword [eax + 8]
lea eax, [ebp - 0x1c]
push eax
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xe0]
call fcn.0040c0d0
mov edi, dword [ebp - 0x24]
mov ebx, eax
pop eax
push edi
call fcn.004ae988
add esp, 0x10
jmp 0x40e14c
sub esp, 0xc
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x54]
lea edx, [ebp - 0x20]
push eax
lea eax, [ebp - 0x5c]
call fcn.0040d330
add esp, 0x10
test eax, eax
je 0x40dc60
jmp 0x40e122
push eax
push eax
push str.no_argument_types_in_mangled_string_n
mov edi, dword [ebp - 0xec]
push edi
call fcn.0040b120
add esp, 0x10
jmp 0x40e143
mov ebx, esi
test al, al
je 0x40e4ff
inc ebx
mov dl, byte [ebx]
cmp dl, 0x2e
setne cl
jne 0x40e758
mov ecx, dword [ebp - 0x6c]
mov edx, ebx
sub edx, ecx
mov eax, dword [ebp - 0x6c]
call fcn.0040b270
mov edx, dword [ebp + 8]
lea esi, [ebx + 1]
mov dword [ebp - 0xa0], eax
mov dword [edx], esi
jmp 0x40d642
test dl, dl
jne 0x40e72b
jmp 0x40e501
mov esi, ebx
jmp 0x40e3ba
mov esi, ebx
jmp 0x40e309
mov eax, dword [ebp - 0xcc]
shl eax, 2
mov edx, dword [ebp - 0xd8]
mov dword [edx + eax], 0
jmp 0x40d573
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x70]
inc edx
mov dword [ecx], edx
mov ecx, dword [ebp - 0x70]
mov al, byte [ecx + 1]
cmp al, 0x3d
je 0x40e880
cmp al, 0x2b
je 0x40e880
cmp al, 0x2d
je 0x40e880
cmp byte [edx], 0x25
jne 0x40dbb6
lea ebx, [edx + 1]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov dword [edx], ebx
lea edx, [ebp - 0x2c]
call fcn.0040b9f0
test eax, eax
je 0x40dcc7
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ecx]
jne 0x40e7eb
mov eax, dword [ebp - 0x28]
cmp eax, dword [ecx + 4]
je 0x40e905
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], ebx
push edx
push edx
push 0
push eax
mov edx, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xe0]
call fcn.0040e920
mov edx, dword [ebp + 8]
mov ecx, eax
mov eax, dword [edx]
add esp, 0x10
mov dl, byte [eax]
cmp dl, 0x3b
setne bl
jne 0x40e83b
mov edx, dword [ebp + 8]
inc eax
mov dword [edx], eax
xor eax, eax
jmp 0x40dbba
inc eax
mov dl, byte [eax]
cmp dl, 0x3b
setne bl
je 0x40e81c
test dl, dl
jne 0x40e830
test bl, bl
je 0x40e81c
mov eax, edi
call fcn.0040b180
jmp 0x40dcc7
mov dword [ebp - 0xd4], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x70]
inc esi
mov edi, edx
mov dword [ecx], esi
mov al, byte [edx + 1]
mov dword [ebp - 0x70], esi
jmp 0x40dbae
mov eax, dword [ebp - 0xc0]
call fcn.0040b140
jmp 0x40dc73
mov eax, dword [ebp + 8]
inc edx
mov dword [eax], edx
jmp 0x40e7b1
mov edx, dword [ebp - 0xd4]
test edx, edx
jne 0x40dbcf
test ecx, ecx
jne 0x40dbcf
test eax, eax
jne 0x40dbcf
mov eax, dword [ebp - 0x10]
push eax
mov edi, dword [ebp - 0xdc]
push edi
mov esi, dword [ebp + 0xc]
push esi
mov ebx, dword [ebp - 0xe0]
push ebx
call fcn.0040a620
add esp, 0x10
jmp 0x40dcd4
mov ecx, eax
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x5c]
call fcn.0040d490
jmp 0x40def6
mov eax, dword [sym.imp.msvcrt.dll__iob]
push esi
mov ebx, dword [ebp - 0xa0]
add eax, 0x40
push ebx
push str.No_mangling_for___s__n
push eax
call fcn.0040b120
add esp, 0x10
jmp 0x40dc73
xor ecx, ecx
mov eax, 1
jmp 0x40dbba