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

Disassembly:
mov eax, 0xc4
call fcn.00508bc0
mov eax, dword [0x5b1fe4]
xor eax, esp
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0xc8]
mov ecx, dword [esp + 0xd8]
mov edx, dword [esp + 0xdc]
push ebx
mov ebx, dword [esp + 0xd8]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0xec]
push ebp
mov ebp, dword [esp + 0xec]
push esi
mov esi, dword [esp + 0xdc]
mov dword [esp + 0x60], eax
xor eax, eax
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x100]
mov edi, esi
lea eax, [esp + 0x78]
shr edi, 3
push eax
mov dword [esp + 0x28], ebx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x70], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], 0xffffffff
mov dword [esp + 0x74], edi
mov dword [esp + 0x24], 2
call fcn.00448e40
add esp, 4
test ebx, ebx
jne 0x4a8574
cmp esi, 0xa0
jne 0x4a8554
call fcn.0044a0c0
mov ebx, eax
mov dword [esp + 0x24], ebx
jmp 0x4a8574
cmp esi, 0xe0
jne 0x4a8569
call fcn.0044a120
mov ebx, eax
mov dword [esp + 0x24], ebx
jmp 0x4a8574
call fcn.0044a130
mov ebx, eax
mov dword [esp + 0x24], eax
push ebx
call fcn.0044a1f0
mov ecx, dword [esp + 0x3c]
add esp, 4
cmp dword [ecx + 0xc], 0
mov dword [esp + 0x40], eax
je 0x4a859b
cmp dword [ecx + 0x10], 0
je 0x4a859b
cmp dword [esp + 0xf0], 0
jl 0x4a860d
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x4a85a9
mov esi, eax
mov dword [esp + 0x14], esi
push 0x1c2
push 0x5833a8
push esi
call fcn.0043a9f0
add esp, 0xc
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebp, ebp
je 0x4a85cc
mov dword [esp + 0x28], ebp
jmp 0x4a85e3
push 0x1c7
push 0x5833a8
push esi
call fcn.0043a9f0
add esp, 0xc
mov dword [esp + 0x28], eax
test ebx, ebx
je 0x4a8d5d
cmp dword [esp + 0x28], 0
je 0x4a8d4c
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4a860d
mov ecx, dword [esp + 0x10]
push esi
push eax
push ecx
call fcn.0051fac0
add esp, 0xc
call fcn.00464130
mov dword [esp + 0x18], eax
test eax, eax
je 0x4a8d4c
call fcn.0046fa20
mov dword [esp + 0x34], eax
test eax, eax
je 0x4a8d4c
mov esi, dword [esp + 0x18]
push esi
call fcn.004641c0
push esi
call fcn.00464250
mov ebp, eax
push esi
mov dword [esp + 0x50], ebp
call fcn.00464250
push esi
mov dword [esp + 0x58], eax
call fcn.00464250
push esi
mov dword [esp + 0x64], eax
call fcn.00464250
push esi
mov dword [esp + 0x80], eax
call fcn.00464250
push esi
mov dword [esp + 0x7c], eax
call fcn.00464250
mov edx, dword [esp + 0x54]
mov ebx, eax
mov eax, dword [edx + 0xc]
add esp, 0x1c
mov dword [esp + 0x4c], ebx
test eax, eax
je 0x4a86c4
mov ecx, edx
mov ecx, dword [ecx + 0x10]
test ecx, ecx
je 0x4a86c4
mov ebx, dword [esp + 0xf0]
mov esi, eax
mov dword [esp + 0x2c], ecx
test ebx, ebx
js 0x4a8aa0
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
push edx
push eax
push ecx
call fcn.0051fac0
add esp, 0xc
jmp 0x4a8aa0
push esi
call fcn.00464250
push esi
mov dword [esp + 0x7c], eax
call fcn.00464250
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xe4]
dec eax
add esp, 8
push eax
call fcn.0043f590
push eax
push ebx
call fcn.0046aa80
add esp, 0xc
test eax, eax
je 0x4a8d4c
jmp 0x4a8700
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
push edx
push 0
push eax
call fcn.004a56f0
inc dword [esp + 0x60]
add esp, 0xc
test eax, eax
je 0x4a8d4c
test ebp, ebp
jne 0x4a8746
mov ecx, dword [esp + 0x10]
push esi
push ecx
call fcn.00435af0
add esp, 8
test eax, eax
js 0x4a8d4c
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push 0
push edx
push 0
lea eax, [esp + 0x9c]
push eax
push esi
push ecx
call fcn.00449340
add esp, 0x18
test eax, eax
je 0x4a8d4c
cmp ebx, edi
jle 0x4a877e
mov edx, ebx
sub edx, edi
lea esi, [esp + edx + 0x90]
jmp 0x4a8785
lea esi, [esp + 0x90]
cmp ebx, edi
jge 0x4a87a0
mov eax, edi
sub eax, ebx
push eax
lea ecx, [esp + ebx + 0x94]
push 0
push ecx
call fcn.005205c0
add esp, 0xc
mov edx, dword [esp + 0x2c]
or byte [esi], 0x80
or byte [esi + edi - 1], 1
push edx
push edi
push esi
call fcn.0043f980
add esp, 0xc
test eax, eax
je 0x4a8d4c
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
xor eax, eax
test ebp, ebp
setne al
push esi
push eax
push ecx
push 0x32
push edx
call fcn.004a5b50
add esp, 0x14
test eax, eax
jg 0x4a8817
jne 0x4a8d4c
test ebp, ebp
je 0x4a8708
push 0x214
push 0x5833a8
push 0x71
push 0x7e
push 0xa
mov dword [esp + 0x44], 0
call fcn.00437a60
add esp, 0x14
jmp 0x4a8d4c
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4a8832
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push eax
call fcn.0051fac0
add esp, 0xc
push 0
push 2
push esi
call fcn.004a56f0
add esp, 0xc
test eax, eax
je 0x4a8d4c
push 0
mov eax, esi
push 3
push eax
call fcn.004a56f0
add esp, 0xc
test eax, eax
je 0x4a8d4c
mov eax, dword [esp + 0xdc]
lea esi, [ebx*8]
xor ecx, ecx
dec eax
xor edx, edx
div esi
mov dword [esp + 0x3c], ecx
mov ebx, eax
lea esp, [esp]
test ecx, ecx
je 0x4a889c
push ecx
mov ecx, dword [esp + 0x20]
push 0
push ecx
call fcn.004a56f0
add esp, 0xc
test eax, eax
je 0x4a8d4c
mov edx, dword [esp + 0x50]
push 0
push edx
call fcn.0043f920
add esp, 8
xor esi, esi
test ebx, ebx
js 0x4a896c
mov ebp, dword [esp + 0x14]
xor edi, edi
jmp 0x4a88c0
lea eax, [ebp - 1]
test eax, eax
js 0x4a88d8
mov ecx, dword [esp + 0x10]
jmp 0x4a88d0
inc byte [eax + ecx]
jne 0x4a88d8
dec eax
jns 0x4a88d0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
push 0
push eax
mov eax, dword [esp + 0x18]
push 0
lea ecx, [esp + 0x9c]
push ecx
push edx
push eax
call fcn.00449340
add esp, 0x18
test eax, eax
je 0x4a8d4c
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push ecx
push edx
lea eax, [esp + 0x98]
push eax
call fcn.0043f980
add esp, 0xc
test eax, eax
je 0x4a8d4c
mov eax, dword [esp + 0x44]
push edi
push eax
push eax
call fcn.0046aa80
add esp, 0xc
test eax, eax
je 0x4a8d4c
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x50]
push ecx
push eax
push eax
call fcn.004844a0
add esp, 0xc
test eax, eax
je 0x4a8d4c
mov eax, dword [esp + 0x40]
add eax, eax
add eax, eax
add eax, eax
inc esi
add edi, eax
cmp esi, ebx
jle 0x4a88c0
mov eax, dword [esp + 0xdc]
mov esi, dword [esp + 0x50]
dec eax
push eax
push esi
call fcn.0043fc90
add esp, 8
test eax, eax
je 0x4a8d4c
push esi
mov esi, dword [esp + 0x6c]
push esi
call fcn.0043f860
add esp, 8
test eax, eax
je 0x4a8d4c
mov edx, dword [esp + 0x4c]
push edx
push esi
push esi
call fcn.004844a0
add esp, 0xc
test eax, eax
je 0x4a8d4c
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x44]
push eax
push ebp
call fcn.0046a930
add esp, 8
test eax, eax
je 0x4a8d4c
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x60]
push ecx
push ebp
push esi
push edi
push 0
call fcn.00485500
add esp, 0x14
test eax, eax
je 0x4a8d4c
call fcn.0043f590
push eax
push edi
push ebp
call fcn.004843d0
add esp, 0xc
test eax, eax
je 0x4a8d4c
push ebp
push esi
mov esi, dword [esp + 0x7c]
push esi
call fcn.004843d0
add esp, 0xc
test eax, eax
je 0x4a8d4c
mov edx, dword [esp + 0x4c]
push edx
push esi
call fcn.0043fb30
add esp, 8
test eax, eax
js 0x4a8a51
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edi
push 1
push eax
push 0x32
push esi
call fcn.004a5b50
add esp, 0x14
test eax, eax
jg 0x4a8a84
jne 0x4a8d4c
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0xdc]
inc ecx
lea eax, [edx*4]
mov dword [esp + 0x3c], ecx
cmp ecx, eax
jl 0x4a8880
cmp dword [esp + 0x58], 0
jne 0x4a8d0e
mov edi, dword [esp + 0x70]
jmp 0x4a8700
push 1
push 2
push edi
call fcn.004a56f0
add esp, 0xc
test eax, eax
je 0x4a8d4c
mov ebx, dword [esp + 0xf0]
call fcn.0043f590
mov edi, dword [esp + 0x4c]
push eax
push esi
push edi
call fcn.004843d0
add esp, 0xc
test eax, eax
je 0x4a8d4c
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x2c]
push ecx
push edx
push edi
push 0
push ebp
call fcn.00485500
add esp, 0x14
test eax, eax
je 0x4a8d4c
test ebx, ebx
jns 0x4a8af3
push 2
push edi
call fcn.0043f920
add esp, 8
test eax, eax
je 0x4a8d4c
jmp 0x4a8afb
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x34]
push eax
push esi
push ecx
call fcn.0046f790
add esp, 0xc
test eax, eax
je 0x4a8d4c
test ebx, ebx
js 0x4a8bfb
mov eax, dword [esp + 0x20]
mov edx, eax
mov byte [esp + 0x92], al
mov eax, dword [esp + 0x24]
push 0
push eax
lea ecx, [esp + 0x80]
shr edx, 8
push ecx
mov byte [esp + 0x9c], bl
mov byte [esp + 0x9d], dl
call fcn.00448e90
add esp, 0xc
test eax, eax
je 0x4a8d4c
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x28]
push edx
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.00449040
add esp, 0xc
test eax, eax
je 0x4a8d4c
push 4
lea edx, [esp + 0x7c]
push str.ggen.cryptodsadsa_gen.c
push edx
call fcn.00449040
add esp, 0xc
test eax, eax
je 0x4a8d4c
push 3
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x80]
push ecx
call fcn.00449040
add esp, 0xc
test eax, eax
je 0x4a8d4c
push 0
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x80]
push eax
call fcn.00449050
add esp, 0xc
test eax, eax
je 0x4a8d4c
mov ecx, dword [esp + 0x40]
push edi
push ecx
lea edx, [esp + 0x98]
push edx
call fcn.0043f980
add esp, 0xc
test eax, eax
je 0x4a8d4c
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x48]
push eax
push ecx
push esi
push ebp
push edi
push edx
call fcn.00482c50
add esp, 0x18
test eax, eax
je 0x4a8d4c
mov eax, dword [esp + 0x48]
cmp dword [eax + 4], 1
jne 0x4a8c6b
mov ecx, dword [eax]
cmp dword [ecx], 1
jne 0x4a8c6b
cmp dword [eax + 0xc], 0
jne 0x4a8c6b
test ebx, ebx
jns 0x4a8c50
call fcn.0043f590
push eax
push edi
push edi
call fcn.004844a0
add esp, 0xc
test eax, eax
je 0x4a8d4c
inc dword [esp + 0x20]
test ebx, ebx
js 0x4a8bfb
cmp dword [esp + 0x20], 0xffff
jbe 0x4a8b16
jmp 0x4a8d4c
mov edx, dword [esp + 0x1c]
push 1
push 3
push edx
call fcn.004a56f0
add esp, 0xc
test eax, eax
je 0x4a8d4c
mov edi, dword [esp + 0x38]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x30], 1
cmp esi, eax
je 0x4a8cb0
test eax, eax
je 0x4a8ca4
push eax
call fcn.0043f680
add esp, 4
push esi
call fcn.0043ffb0
add esp, 4
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x10]
mov esi, dword [esp + 0x2c]
cmp esi, eax
je 0x4a8cd4
test eax, eax
je 0x4a8cc8
push eax
call fcn.0043f680
add esp, 4
push esi
call fcn.0043ffb0
add esp, 4
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x14]
test eax, eax
je 0x4a8ce4
push eax
call fcn.0043f680
add esp, 4
mov eax, dword [esp + 0x48]
push eax
call fcn.0043ffb0
add esp, 4
cmp dword [edi + 0xc], 0
mov dword [edi + 0x14], eax
je 0x4a8d04
cmp dword [edi + 0x10], 0
je 0x4a8d04
test eax, eax
jne 0x4a8d30
mov dword [esp + 0x30], 0xffffffff
jmp 0x4a8d4c
push 0x26d
push 0x5833a8
push 0x70
push 0x7e
push 0xa
mov dword [esp + 0x44], 0
call fcn.00437a60
add esp, 0x14
jmp 0x4a8d4c
mov eax, dword [esp + 0x64]
test eax, eax
je 0x4a8d3e
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4a8d4c
mov edx, dword [esp + 0x20]
mov dword [eax], edx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4a8d5d
push eax
call fcn.0043ac00
add esp, 4
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x5c], eax
je 0x4a8d70
push eax
call fcn.0043ac00
add esp, 4
mov esi, dword [esp + 0x18]
test esi, esi
je 0x4a8d87
push esi
call fcn.00464210
push esi
call fcn.00464190
add esp, 8
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
je 0x4a8d9c
push eax
call fcn.0046f750
add esp, 4
lea eax, [esp + 0x68]
push eax
call fcn.004490d0
mov ecx, dword [esp + 0xc4]
mov eax, dword [esp + 0x24]
add esp, 4
xor ecx, esp
call fcn.0050804f
add esp, 0xc4
ret