Function at 0x475270
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0xe2c
test eax, eax
push ebx
push ebp
push esi
push edi
jne 0x475293
pop edi
pop esi
pop ebp
mov ax, 0x10
pop ebx
add esp, 0xe2c
ret 0x1c
mov ecx, dword [0x5df9c8]
mov eax, dword [eax + 0x54]
push ecx
push eax
call fcn.004743e0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x4752bd
pop edi
pop esi
pop ebp
mov ax, 2
pop ebx
add esp, 0xe2c
ret 0x1c
mov esi, dword [esp + 0xe48]
test esi, esi
jne 0x4752d9
pop edi
pop esi
pop ebp
mov ax, 0x10
pop ebx
add esp, 0xe2c
ret 0x1c
mov eax, dword [esp + 0xe50]
test eax, eax
jne 0x4752f5
pop edi
pop esi
pop ebp
mov ax, 0x10
pop ebx
add esp, 0xe2c
ret 0x1c
mov eax, dword [esp + 0xe58]
test eax, eax
jne 0x475311
pop edi
pop esi
pop ebp
mov ax, 0x10
pop ebx
add esp, 0xe2c
ret 0x1c
mov ax, word [ebp + 0x44]
test ax, ax
je 0x475736
cmp ax, 0xffff
je 0x475736
mov ecx, 0xfa
xor eax, eax
lea edi, [esp + 0x66c]
xor edx, edx
rep stosd dword es:[edi], eax
mov ecx, 0xfa
lea edi, [esp + 0xa54]
rep stosd dword es:[edi], eax
mov ecx, 0xfa
lea edi, [esp + 0x284]
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], ecx
lea edi, [esp + 0xfc]
mov dword [esp + 0x18], ecx
mov ecx, 0x28
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x1a0]
mov dword [esp + 0x2c], edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x30], edx
lea ecx, [esp + 0x1c]
stosb byte es:[edi], al
movsx edx, word [ebp + 0x70]
mov eax, dword [ebp + edx*4 + 0x48]
push eax
push 0x5cfdb4
push ecx
call fcn.004ce616
xor edx, edx
lea eax, [esp + 0x1c]
mov dx, word [ebp + 0x44]
push edx
push 0x5cfdb4
push eax
call fcn.004ce616
mov ecx, dword [esp + 0xe5c]
lea edx, [esp + 0x64]
push ecx
push 0x5cfdb4
push edx
call fcn.004ce616
mov ebx, dword [esp + 0xe70]
lea edi, [esp + 0x120]
mov ecx, ebx
mov edx, dword [esp + 0xe6c]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x120]
push ecx
push ebx
push edx
call fcn.0046b4d0
push ebx
lea eax, [esp + 0x74]
push 0x5cfdb4
push eax
call fcn.004ce616
mov edx, dword [esp + 0xe7c]
add esp, 0x3c
lea ecx, [esp + 0x244]
push 0x40
push ecx
push edx
call fcn.0046e560
test ax, ax
jne 0x47573a
lea eax, [esp + 0x40]
lea ecx, [esp + 0xfc]
push eax
lea edx, [esp + 0x50]
push ecx
lea eax, [esp + 0x18]
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
push 5
push 0x5cfdac
call fcn.0047a330
mov edx, eax
add esp, 0x1c
test edx, edx
jne 0x475491
push ebp
push 0x4a
call fcn.0046ebe0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe2c
ret 0x1c
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0xa54]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004ce2e1
lea ecx, [esp + 0x2c]
lea edx, [esp + 0xa58]
push ecx
push edx
push str.secureMsgStr
push 3
push 0x5cfc9c
call fcn.0047a330
mov edx, eax
add esp, 0x18
test edx, edx
jne 0x4754fc
push ebp
push 0x4a
call fcn.0046ebe0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe2c
ret 0x1c
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0x284]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004ce2e1
lea ecx, [esp + 0x288]
push ecx
call fcn.0047a410
mov edx, eax
add esp, 8
test edx, edx
jne 0x475556
push ebp
push 0x4a
call fcn.0046ebe0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe2c
ret 0x1c
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0x284]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push edx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004ce2e1
lea ecx, [esp + 0x670]
lea edx, [esp + 0x288]
push ecx
push ebp
push edx
call fcn.004780b0
add esp, 0x10
test ax, ax
je 0x4755b7
push ebp
push eax
call fcn.0046eb00
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe2c
ret 0x1c
lea eax, [esp + 0x66c]
push eax
call fcn.0047a100
mov esi, eax
add esp, 4
test esi, esi
jne 0x4755e5
push ebp
push 0x42
call fcn.0046ebe0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe2c
ret 0x1c
lea ecx, [esp + 0x66c]
lea edx, [esp + 0x98]
push ecx
lea eax, [esp + 0x5c]
push edx
push eax
push esi
push 3
push 0x5cfc9c
call fcn.00479f60
push esi
mov edi, eax
call fcn.004ce2e1
add esp, 0x1c
test di, di
je 0x47562f
push ebp
push 0x42
call fcn.0046ebe0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe2c
ret 0x1c
mov byte [esp + 0x97], 0
mov byte [esp + 0xfb], 0
mov esi, str.error
lea eax, [esp + 0x58]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x475670
test cl, cl
je 0x47566c
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x475670
add eax, 2
add esi, 2
test cl, cl
jne 0x475648
xor eax, eax
jmp 0x475675
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x47569d
lea eax, [esp + 0x98]
push eax
call fcn.004ce463
push ebp
push eax
call fcn.0046ebe0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe2c
ret 0x1c
lea ecx, [esp + 0x1a0]
lea edx, [esp + 0x34]
push ecx
lea eax, [esp + 0x670]
push edx
push eax
push 2
push 0x5cfdac
call fcn.00479f60
add esp, 0x14
test ax, ax
je 0x4756de
push ebp
push 0x42
call fcn.0046ebe0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe2c
ret 0x1c
mov ecx, dword [esp + 0xe50]
lea edx, [esp + 0x1a0]
push ecx
push edx
mov byte [esp + 0x47], 0
call fcn.0046b560
lea eax, [esp + 0x3c]
push eax
call fcn.004ce44d
mov ecx, dword [esp + 0xe64]
lea esi, [ebp + 0x80]
push esi
mov dword [ecx], eax
call fcn.004e7776
mov edi, dword [esi]
push ebp
add edi, 0x78
push 0
mov dword [esi], edi
call fcn.0046ebe0
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe2c
ret 0x1c
mov ax, 0x47
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe2c
ret 0x1c