Function at 0x409d20
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xf0
cmp dword [ecx + 0x20], 0
je 0x409d6e
mov esi, ecx
movzx eax, byte [ecx]
mov byte [esp + 0xf], 0
test eax, eax
je 0x409d75
cmp al, 0x64
jb 0x409d84
lea ecx, [eax + eax*4]
lea edx, [eax + ecx*8]
shr edx, 0xc
imul ecx, edx, 0x64
sub al, cl
movzx eax, al
movzx eax, word [eax + eax + 0x437520]
mov word [esp + 0xd], ax
mov ecx, 0xfffffffd
mov eax, edx
jmp 0x409d8d
mov bl, 1
jmp 0x40a375
lea eax, [esp + 0xe]
mov dword [esp + 0x2c], eax
mov byte [esp + 0xe], 0x30
jmp 0x409dba
mov ecx, 0xffffffff
cmp al, 9
ja 0x409da5
lea edx, [esp + 0x10]
movzx eax, byte [eax + str.0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ]
add edx, ecx
dec edx
mov dword [esp + 0x2c], edx
mov byte [esp + ecx + 0xf], al
jmp 0x409dba
movzx eax, word [eax + eax + 0x437520]
lea ecx, [esp + 0xd]
mov dword [esp + 0x2c], ecx
mov word [esp + 0xd], ax
lea eax, [esi + 0x10]
push eax
call fcn.00406a10
add esp, 4
mov edi, dword [esi + 0x10]
mov eax, dword [esi + 0x58]
mov eax, dword [eax + 0x48]
mov dword [esp + 0xc0], eax
lea ebx, [esp + 0xcb]
push ebx
call fcn.0042dac0
add esp, 4
mov dword [esp + 0xc4], edi
lea eax, [edi + 0x400]
push eax
call fcn.00408a30
add esp, 4
mov edi, eax
mov dword [esp + 0x30], 0xe7e316e0
mov byte [esp + 0x34], 0x94
mov word [esp + 0x35], 0
mov byte [esp + 0x37], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 7
ja 0x409e6e
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x30]
mov edx, 0x6b
sub edx, eax
add eax, 0xa50ff794
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 0xf4
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 8
jb 0x409e30
lea eax, [esp + 0x30]
mov ecx, esi
push ebx
mov ebx, eax
push eax
push edi
call fcn.004095e0
mov dword [esp + 0x30], 0x73d6c4dc
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 8
ja 0x409eee
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x30]
mov edx, 0xf1
sub edx, eax
add eax, 0x679dd50e
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 0x9e
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 9
jb 0x409eb0
mov ecx, esi
push dword [esp + 0x2c]
push ebx
push edi
call fcn.004095e0
mov eax, dword [str.bcmcEw__VisaSoftware]
mov dword [esp + 0x30], 0x3bcbab2
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0xf
ja 0x409f80
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x30]
mov ebx, 0xd4
sub ebx, ecx
add ecx, 0xb573842b
xor ebx, ecx
and ebx, edx
xor ebx, ecx
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x10]
add cl, 0xd3
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x30], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0x10
jb 0x409f40
mov ecx, esi
push eax
lea ebx, [esp + 0x34]
push ebx
push edi
call fcn.004095e0
mov dword [esp + 0x30], 0x5f565e23
mov dword [esp + 0x34], 0x2a5b525b
mov dword [esp + 0x38], 0x4449422b
mov byte [esp + 0x3c], 0xa2
mov dword [esp + 0x41], 0
mov dword [esp + 0x3d], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0x14
ja 0x40a00e
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x30]
mov edx, 0x18
sub edx, eax
add eax, 0xb4d4c1e7
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 0xaf
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0x15
jb 0x409fd0
mov dword [esp + 0x10], 0x3766261
mov dword [esp + 0x14], 0
mov dword [esp + 0x17], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 8]
cmp eax, 0xa
ja 0x40a07c
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
movzx ecx, byte [esp + ecx + 0x10]
mov edx, 0xff
sub edx, eax
add eax, 0xa8084000
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 4], edx
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov byte [esp + ecx + 0x10], al
inc dword [esp + 8]
mov eax, dword [esp + 8]
cmp eax, 0xb
jb 0x40a040
lea eax, [esp + 0x10]
mov ecx, esi
push ebx
push eax
push edi
call fcn.004095e0
mov dword [esp + 0x30], 0xa6bea4a6
mov byte [esp + 0x34], 8
mov dword [esp + 0x35], 0
mov word [esp + 0x39], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xa
ja 0x40a0fe
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 0x30]
mov edx, 0x55
sub edx, eax
add eax, 0x220060aa
xor edx, eax
and edx, ecx
xor edx, eax
mov dword [esp + 0x10], edx
mov eax, dword [esp + 0x10]
add al, 0x5a
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 0x30], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xb
jb 0x40a0c0
mov ecx, esi
push dword [esp + 0xc4]
push dword [esp + 0xc4]
push ebx
push edi
call fcn.00409890
mov eax, dword [esi + 0x60]
mov dword [esp + 0x30], 0xdb2dd91b
mov dword [esp + 0x34], 0xe71ae512
mov dword [esp + 0x38], 0xe314e10d
mov dword [esp + 0x3c], 0xefdbed10
mov dword [esp + 0x40], 0xeb13e934
mov dword [esp + 0x44], 0xf71bf504
mov dword [esp + 0x48], 0xf3d2f1ca
mov dword [esp + 0x4c], 0xff03fd09
mov dword [esp + 0x50], 0xfb06f90c
mov dword [esp + 0x54], 0x8776856d
mov dword [esp + 0x58], 0x83708161
mov dword [esp + 0x5c], 0x8fb98d70
mov dword [esp + 0x60], 0x8b7d8966
mov dword [esp + 0x64], 0x97639566
mov dword [esp + 0x68], 0x937e91a5
mov dword [esp + 0x6c], 0x9f629d7d
mov dword [esp + 0x70], 0x9ba19979
mov dword [esp + 0x74], 0xa744a584
mov dword [esp + 0x78], 0xa35fa157
mov dword [esp + 0x7c], 0xaf42ad5a
mov dword [esp + 0x80], 0xab58a949
mov dword [esp + 0x84], 0xb773b54d
mov dword [esp + 0x88], 0xb35fb152
mov dword [esp + 0x8c], 0xbf83bd84
mov dword [esp + 0x90], 0xbb57b954
mov dword [esp + 0x94], 0x47af4579
mov dword [esp + 0x98], 0x43ae41b0
mov dword [esp + 0x9c], 0x4fad4dbb
mov dword [esp + 0xa0], 0x4ba749a1
mov dword [esp + 0xa4], 0x57a455a6
mov dword [esp + 0xa8], 0x536351bd
mov dword [esp + 0xac], 0x5f545d49
mov word [esp + 0xb0], 0x5958
mov word [esp + 0xba], 0
mov dword [esp + 0xb6], 0
mov dword [esp + 0xb2], 0
mov dword [esp + 4], 0
mov ecx, dword [esp + 4]
cmp ecx, 0x8b
ja 0x40a2c3
nop
nop
nop
nop
nop
nop
mov ecx, dword [esp + 4]
mov edx, dword [esp + 4]
movzx edx, byte [esp + edx + 0x30]
mov ebx, 0x63
sub ebx, ecx
add ecx, 0xad68ec9c
xor ebx, ecx
and ebx, edx
xor ebx, ecx
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x10]
add cl, 0xbc
mov edx, dword [esp + 4]
mov byte [esp + edx + 0x30], cl
inc dword [esp + 4]
mov ecx, dword [esp + 4]
cmp ecx, 0x8c
jb 0x40a280
mov dword [esp + 0x10], 0x6bcb6dbf
mov dword [esp + 0x14], 0x67ff69f8
mov word [esp + 0x18], 0x6564
mov dword [esp + 0x1a], 0
mov dword [esp + 0x1e], 0
mov byte [esp + 0x22], 0
mov dword [esp + 8], 0
mov ecx, dword [esp + 8]
cmp ecx, 0x12
ja 0x40a340
mov ecx, dword [esp + 8]
mov edx, dword [esp + 8]
movzx edx, byte [esp + edx + 0x10]
mov ebx, 0xed
sub ebx, ecx
add ecx, 0x4afdcb12
xor ebx, ecx
and ebx, edx
xor ebx, ecx
mov dword [esp + 4], ebx
mov ecx, dword [esp + 4]
add cl, 0x82
mov edx, dword [esp + 8]
mov byte [esp + edx + 0x10], cl
inc dword [esp + 8]
mov ecx, dword [esp + 8]
cmp ecx, 0x13
jb 0x40a300
push 0x493e0
push eax
push edi
push 0
push 0
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0040c4d0
add esp, 0x1c
mov ebx, eax
push edi
call fcn.00408a40
add esp, 4
mov eax, dword [esi + 0x60]
add dword [esi + 4], eax
mov dword [esi + 0x60], 0
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret