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

Disassembly:
mov eax, 0xc0
call fcn.00411b70
mov eax, dword [0x539050]
xor eax, esp
mov dword [esp + 0xbc], eax
mov eax, dword [esp + 0xc4]
mov edx, dword [esp + 0xe4]
mov ecx, dword [esp + 0xd4]
push ebx
mov ebx, dword [esp + 0xd4]
push ebp
mov ebp, dword [esp + 0xe8]
push esi
mov esi, dword [esp + 0xd8]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xf4]
push edi
mov dword [esp + 0x60], edx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0x68], eax
xor eax, eax
mov edi, esi
lea edx, [esp + 0x74]
shr edi, 3
push edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x24], 2
call fcn.00478810
add esp, 4
test ebx, ebx
jne 0x4ca2b9
cmp esi, 0xa0
jne 0x4ca299
call fcn.0047bdf0
mov ebx, eax
mov dword [esp + 0x28], ebx
jmp 0x4ca2b9
cmp esi, 0xe0
jne 0x4ca2ae
call fcn.0047be50
mov ebx, eax
mov dword [esp + 0x28], ebx
jmp 0x4ca2b9
call fcn.0047be60
mov ebx, eax
mov dword [esp + 0x28], eax
push ebx
call fcn.00484570
mov ecx, dword [esp + 0x34]
add esp, 4
cmp dword [ecx + 0xc], 0
mov dword [esp + 0x3c], eax
je 0x4ca2e0
cmp dword [ecx + 0x10], 0
je 0x4ca2e0
cmp dword [esp + 0xec], 0
jl 0x4ca358
mov esi, dword [esp + 0xe8]
test esi, esi
jne 0x4ca2f4
mov esi, eax
mov dword [esp + 0xe8], esi
push 0x1c2
push 0x52da6c
push esi
call fcn.0046a350
add esp, 0xc
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebp, ebp
je 0x4ca317
mov dword [esp + 0x18], ebp
jmp 0x4ca32e
push 0x1c7
push 0x52da6c
push esi
call fcn.0046a350
add esp, 0xc
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x4caaae
cmp dword [esp + 0x18], 0
je 0x4caa9d
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4ca358
push esi
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.00406080
add esp, 0xc
call fcn.00480310
mov dword [esp + 0x14], eax
test eax, eax
je 0x4caa9d
call fcn.004b34c0
mov dword [esp + 0x40], eax
test eax, eax
je 0x4caa9d
mov esi, dword [esp + 0x14]
push esi
call fcn.004803a0
push esi
call fcn.00480430
mov ebp, eax
push esi
mov dword [esp + 0x40], ebp
call fcn.00480430
push esi
mov dword [esp + 0x60], eax
call fcn.00480430
push esi
mov dword [esp + 0x60], eax
call fcn.00480430
push esi
mov dword [esp + 0x7c], eax
call fcn.00480430
push esi
mov dword [esp + 0x78], eax
call fcn.00480430
mov ecx, dword [esp + 0x4c]
mov ebx, eax
mov eax, dword [ecx + 0xc]
add esp, 0x1c
mov dword [esp + 0x48], ebx
test eax, eax
je 0x4ca40f
mov edx, ecx
mov ecx, dword [edx + 0x10]
test ecx, ecx
je 0x4ca40f
mov ebx, dword [esp + 0xec]
mov esi, eax
mov dword [esp + 0x1c], ecx
test ebx, ebx
jl 0x4ca7f6
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
call fcn.00406080
add esp, 0xc
jmp 0x4ca7f6
push esi
call fcn.00480430
push esi
mov dword [esp + 0x78], eax
call fcn.00480430
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xe0]
dec eax
add esp, 8
push eax
call fcn.0046ee40
push eax
push ebx
call fcn.0049b480
add esp, 0xc
test eax, eax
je 0x4caa9d
jmp 0x4ca450
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x54]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0xe8]
push eax
push 0
push ecx
call fcn.004ceb50
inc dword [esp + 0x50]
add esp, 0xc
test eax, eax
je 0x4caa9d
test ebp, ebp
jne 0x4ca499
mov edx, dword [esp + 0x10]
push esi
push edx
call fcn.00465fc0
add esp, 8
test eax, eax
jl 0x4caa9d
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
push 0
push eax
push 0
lea ecx, [esp + 0x98]
push ecx
push esi
push edx
call fcn.00478d10
add esp, 0x18
test eax, eax
je 0x4caa9d
cmp ebx, edi
jle 0x4ca4d1
mov eax, ebx
sub eax, edi
lea esi, [esp + eax + 0x8c]
jmp 0x4ca4d8
lea esi, [esp + 0x8c]
cmp ebx, edi
jge 0x4ca4f3
mov ecx, edi
sub ecx, ebx
push ecx
lea edx, [esp + ebx + 0x90]
push 0
push edx
call fcn.00406000
add esp, 0xc
mov eax, dword [esp + 0x1c]
or byte [esi], 0x80
or byte [esi + edi - 1], 1
push eax
push edi
push esi
call fcn.0046f230
add esp, 0xc
test eax, eax
je 0x4caa9d
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
xor ecx, ecx
test ebp, ebp
setne cl
push esi
push ecx
push edx
push 0x32
push eax
call fcn.004cefb0
add esp, 0x14
test eax, eax
jg 0x4ca56a
jne 0x4caa9d
test ebp, ebp
je 0x4ca458
push 0x214
push 0x52da6c
push 0x71
push 0x7e
push 0xa
mov dword [esp + 0x40], 0
call fcn.00467c20
add esp, 0x14
jmp 0x4caa9d
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4ca588
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0x10]
push ecx
push edx
push eax
call fcn.00406080
add esp, 0xc
push 0
push 2
push esi
call fcn.004ceb50
add esp, 0xc
test eax, eax
je 0x4caa9d
push 0
mov eax, esi
push 3
push eax
call fcn.004ceb50
add esp, 0xc
test eax, eax
je 0x4caa9d
mov eax, dword [esp + 0xd8]
lea esi, [ebx*8]
xor ecx, ecx
dec eax
xor edx, edx
div esi
mov dword [esp + 0x38], ecx
mov ebx, eax
nop
test ecx, ecx
je 0x4ca5ec
push ecx
mov ecx, dword [esp + 0x28]
push 0
push ecx
call fcn.004ceb50
add esp, 0xc
test eax, eax
je 0x4caa9d
mov edx, dword [esp + 0x4c]
push 0
push edx
call fcn.0046f1d0
add esp, 8
xor esi, esi
test ebx, ebx
jl 0x4ca6c2
mov ebp, dword [esp + 0xe8]
dec ebp
xor edi, edi
nop
mov eax, ebp
test eax, eax
jl 0x4ca62b
mov ecx, dword [esp + 0x10]
lea ebx, [ebx]
add byte [eax + ecx], 1
jne 0x4ca62b
sub eax, 1
jns 0x4ca620
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0xe8]
push 0
push eax
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x98]
push ecx
push edx
push eax
call fcn.00478d10
add esp, 0x18
test eax, eax
je 0x4caa9d
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
push ecx
push edx
lea eax, [esp + 0x94]
push eax
call fcn.0046f230
add esp, 0xc
test eax, eax
je 0x4caa9d
mov eax, dword [esp + 0x34]
push edi
push eax
push eax
call fcn.0049b480
add esp, 0xc
test eax, eax
je 0x4caa9d
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x4c]
push ecx
push eax
push eax
call fcn.0049d680
add esp, 0xc
test eax, eax
je 0x4caa9d
mov eax, dword [esp + 0x3c]
add eax, eax
add eax, eax
add eax, eax
inc esi
add edi, eax
cmp esi, ebx
jle 0x4ca610
mov eax, dword [esp + 0xd8]
mov esi, dword [esp + 0x4c]
dec eax
push eax
push esi
call fcn.0046f550
add esp, 8
test eax, eax
je 0x4caa9d
push esi
mov esi, dword [esp + 0x68]
push esi
call fcn.0046f120
add esp, 8
test eax, eax
je 0x4caa9d
mov edx, dword [esp + 0x48]
push edx
push esi
push esi
call fcn.0049d680
add esp, 0xc
test eax, eax
je 0x4caa9d
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x34]
push eax
push ebp
call fcn.0049b330
add esp, 8
test eax, eax
je 0x4caa9d
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x5c]
push ecx
push ebp
push esi
push edi
push 0
call fcn.004c4840
add esp, 0x14
test eax, eax
je 0x4caa9d
call fcn.0046ee40
push eax
push edi
push ebp
call fcn.0049d5b0
add esp, 0xc
test eax, eax
je 0x4caa9d
push ebp
push esi
mov esi, dword [esp + 0x78]
push esi
call fcn.0049d5b0
add esp, 0xc
test eax, eax
je 0x4caa9d
mov edx, dword [esp + 0x48]
push edx
push esi
call fcn.0046f3e0
add esp, 8
test eax, eax
jl 0x4ca7a7
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
push edi
push 1
push eax
push 0x32
push esi
call fcn.004cefb0
add esp, 0x14
test eax, eax
jg 0x4ca7da
jne 0x4caa9d
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0xd8]
inc ecx
lea eax, [edx*4]
cmp ecx, eax
mov dword [esp + 0x38], ecx
jl 0x4ca5d0
cmp dword [esp + 0x54], 0
jne 0x4caa5f
mov edi, dword [esp + 0x6c]
jmp 0x4ca450
push 1
push 2
push edi
call fcn.004ceb50
add esp, 0xc
test eax, eax
je 0x4caa9d
mov ebx, dword [esp + 0xec]
call fcn.0046ee40
mov edi, dword [esp + 0x48]
push eax
push esi
push edi
call fcn.0049d5b0
add esp, 0xc
test eax, eax
je 0x4caa9d
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push edi
push 0
push ebp
call fcn.004c4840
add esp, 0x14
test eax, eax
je 0x4caa9d
test ebx, ebx
jge 0x4ca849
push 2
push edi
call fcn.0046f1d0
add esp, 8
test eax, eax
je 0x4caa9d
jmp 0x4ca851
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
push eax
push esi
push ecx
call fcn.004b3230
add esp, 0xc
test eax, eax
je 0x4caa9d
lea esp, [esp]
test ebx, ebx
jl 0x4ca94c
mov eax, dword [esp + 0x20]
mov edx, eax
mov byte [esp + 0x8e], al
mov eax, dword [esp + 0x28]
push 0
push eax
lea ecx, [esp + 0x7c]
shr edx, 8
push ecx
mov byte [esp + 0x98], bl
mov byte [esp + 0x99], dl
call fcn.00478860
add esp, 0xc
test eax, eax
je 0x4caa9d
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.00478a10
add esp, 0xc
test eax, eax
je 0x4caa9d
push 4
lea edx, [esp + 0x78]
push str.ggen.cryptodsadsa_gen.c
push edx
call fcn.00478a10
add esp, 0xc
test eax, eax
je 0x4caa9d
push 3
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.00478a10
add esp, 0xc
test eax, eax
je 0x4caa9d
push 0
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x7c]
push eax
call fcn.00478a20
add esp, 0xc
test eax, eax
je 0x4caa9d
mov ecx, dword [esp + 0x3c]
push edi
push ecx
lea edx, [esp + 0x94]
push edx
call fcn.0046f230
add esp, 0xc
test eax, eax
je 0x4caa9d
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
push eax
push ecx
push esi
push ebp
push edi
push edx
call fcn.004b4310
add esp, 0x18
test eax, eax
je 0x4caa9d
mov eax, dword [esp + 0x50]
cmp dword [eax + 4], 1
jne 0x4ca9bc
mov ecx, dword [eax]
cmp dword [ecx], 1
jne 0x4ca9bc
cmp dword [eax + 0xc], 0
jne 0x4ca9bc
test ebx, ebx
jge 0x4ca9a1
call fcn.0046ee40
push eax
push edi
push edi
call fcn.0049d680
add esp, 0xc
test eax, eax
je 0x4caa9d
inc dword [esp + 0x20]
test ebx, ebx
jl 0x4ca94c
cmp dword [esp + 0x20], 0xffff
jbe 0x4ca870
jmp 0x4caa9d
mov edx, dword [esp + 0x24]
push 1
push 3
push edx
call fcn.004ceb50
add esp, 0xc
test eax, eax
je 0x4caa9d
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x2c], 1
cmp esi, eax
je 0x4caa01
test eax, eax
je 0x4ca9f5
push eax
call fcn.0046ef30
add esp, 4
push esi
call fcn.0046f870
add esp, 4
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x10]
mov esi, dword [esp + 0x1c]
cmp esi, eax
je 0x4caa25
test eax, eax
je 0x4caa19
push eax
call fcn.0046ef30
add esp, 4
push esi
call fcn.0046f870
add esp, 4
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x14]
test eax, eax
je 0x4caa35
push eax
call fcn.0046ef30
add esp, 4
mov eax, dword [esp + 0x50]
push eax
call fcn.0046f870
add esp, 4
cmp dword [edi + 0xc], 0
mov dword [edi + 0x14], eax
je 0x4caa55
cmp dword [edi + 0x10], 0
je 0x4caa55
test eax, eax
jne 0x4caa81
mov dword [esp + 0x2c], 0xffffffff
jmp 0x4caa9d
push 0x26d
push 0x52da6c
push 0x70
push 0x7e
push 0xa
mov dword [esp + 0x40], 0
call fcn.00467c20
add esp, 0x14
jmp 0x4caa9d
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4caa8f
mov ecx, dword [esp + 0x38]
mov dword [eax], ecx
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4caa9d
mov edx, dword [esp + 0x20]
mov dword [eax], edx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4caaae
push eax
call fcn.0046a560
add esp, 4
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x58], eax
je 0x4caac1
push eax
call fcn.0046a560
add esp, 4
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4caad8
push esi
call fcn.004803f0
push esi
call fcn.00480370
add esp, 8
mov eax, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
je 0x4caaed
push eax
call fcn.004b31f0
add esp, 4
lea eax, [esp + 0x64]
push eax
call fcn.00478aa0
mov ecx, dword [esp + 0xc0]
mov eax, dword [esp + 0x20]
add esp, 4
xor ecx, esp
call fcn.004047dd
add esp, 0xc0
ret