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

Disassembly:
mov eax, 0xc0
call fcn.004fc890
mov eax, dword [0x577690]
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.004760b0
add esp, 4
test ebx, ebx
jne 0x4e4109
cmp esi, 0xa0
jne 0x4e40e9
call fcn.00477d90
mov ebx, eax
mov dword [esp + 0x28], ebx
jmp 0x4e4109
cmp esi, 0xe0
jne 0x4e40fe
call fcn.00477df0
mov ebx, eax
mov dword [esp + 0x28], ebx
jmp 0x4e4109
call fcn.00477e00
mov ebx, eax
mov dword [esp + 0x28], eax
push ebx
call fcn.00477ee0
mov ecx, dword [esp + 0x34]
add esp, 4
cmp dword [ecx + 0xc], 0
mov dword [esp + 0x3c], eax
je 0x4e4130
cmp dword [ecx + 0x10], 0
je 0x4e4130
cmp dword [esp + 0xec], 0
jl 0x4e41a8
mov esi, dword [esp + 0xe8]
test esi, esi
jne 0x4e4144
mov esi, eax
mov dword [esp + 0xe8], esi
push 0x1be
push 0x55a7f0
push esi
call fcn.004513f0
add esp, 0xc
mov ebx, eax
mov dword [esp + 0x10], ebx
test ebp, ebp
je 0x4e4167
mov dword [esp + 0x18], ebp
jmp 0x4e417e
push 0x1c3
push 0x55a7f0
push esi
call fcn.004513f0
add esp, 0xc
mov dword [esp + 0x18], eax
test ebx, ebx
je 0x4e48fe
cmp dword [esp + 0x18], 0
je 0x4e48ed
mov eax, dword [esp + 0x54]
test eax, eax
je 0x4e41a8
push esi
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.004fc9b0
add esp, 0xc
call fcn.004926d0
mov dword [esp + 0x14], eax
test eax, eax
je 0x4e48ed
call fcn.004ad4c0
mov dword [esp + 0x40], eax
test eax, eax
je 0x4e48ed
mov esi, dword [esp + 0x14]
push esi
call fcn.00492760
push esi
call fcn.004927f0
mov ebp, eax
push esi
mov dword [esp + 0x40], ebp
call fcn.004927f0
push esi
mov dword [esp + 0x60], eax
call fcn.004927f0
push esi
mov dword [esp + 0x60], eax
call fcn.004927f0
push esi
mov dword [esp + 0x7c], eax
call fcn.004927f0
push esi
mov dword [esp + 0x78], eax
call fcn.004927f0
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 0x4e425f
mov edx, ecx
mov ecx, dword [edx + 0x10]
test ecx, ecx
je 0x4e425f
mov ebx, dword [esp + 0xec]
mov esi, eax
mov dword [esp + 0x1c], ecx
test ebx, ebx
jl 0x4e4646
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
call fcn.004fc9b0
add esp, 0xc
jmp 0x4e4646
push esi
call fcn.004927f0
push esi
mov dword [esp + 0x78], eax
call fcn.004927f0
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xe0]
dec eax
add esp, 8
push eax
call fcn.0045cda0
push eax
push ebx
call fcn.004a0ae0
add esp, 0xc
test eax, eax
je 0x4e48ed
jmp 0x4e42a0
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.004e7ee0
inc dword [esp + 0x50]
add esp, 0xc
test eax, eax
je 0x4e48ed
test ebp, ebp
jne 0x4e42e9
mov edx, dword [esp + 0x10]
push esi
push edx
call fcn.00447490
add esp, 8
test eax, eax
jle 0x4e48ed
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.004765b0
add esp, 0x18
test eax, eax
je 0x4e48ed
cmp ebx, edi
jle 0x4e4321
mov eax, ebx
sub eax, edi
lea esi, [esp + eax + 0x8c]
jmp 0x4e4328
lea esi, [esp + 0x8c]
cmp ebx, edi
jge 0x4e4343
mov ecx, edi
sub ecx, ebx
push ecx
lea edx, [esp + ebx + 0x90]
push 0
push edx
call fcn.004fc930
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.0045d190
add esp, 0xc
test eax, eax
je 0x4e48ed
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.004e8340
add esp, 0x14
test eax, eax
jg 0x4e43ba
jne 0x4e48ed
test ebp, ebp
je 0x4e42a8
push 0x210
push 0x55a7f0
push 0x71
push 0x7e
push 0xa
mov dword [esp + 0x40], 0
call fcn.0044c910
add esp, 0x14
jmp 0x4e48ed
mov eax, dword [esp + 0x58]
test eax, eax
je 0x4e43d8
mov ecx, dword [esp + 0xe8]
mov edx, dword [esp + 0x10]
push ecx
push edx
push eax
call fcn.004fc9b0
add esp, 0xc
push 0
push 2
push esi
call fcn.004e7ee0
add esp, 0xc
test eax, eax
je 0x4e48ed
push 0
mov eax, esi
push 3
push eax
call fcn.004e7ee0
add esp, 0xc
test eax, eax
je 0x4e48ed
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 0x4e443c
push ecx
mov ecx, dword [esp + 0x28]
push 0
push ecx
call fcn.004e7ee0
add esp, 0xc
test eax, eax
je 0x4e48ed
mov edx, dword [esp + 0x4c]
push 0
push edx
call fcn.0045d130
add esp, 8
xor esi, esi
test ebx, ebx
jl 0x4e4512
mov ebp, dword [esp + 0xe8]
dec ebp
xor edi, edi
nop
mov eax, ebp
test eax, eax
jl 0x4e447b
mov ecx, dword [esp + 0x10]
lea ebx, [ebx]
add byte [eax + ecx], 1
jne 0x4e447b
sub eax, 1
jns 0x4e4470
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.004765b0
add esp, 0x18
test eax, eax
je 0x4e48ed
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
push ecx
push edx
lea eax, [esp + 0x94]
push eax
call fcn.0045d190
add esp, 0xc
test eax, eax
je 0x4e48ed
mov eax, dword [esp + 0x34]
push edi
push eax
push eax
call fcn.004a0ae0
add esp, 0xc
test eax, eax
je 0x4e48ed
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x4c]
push ecx
push eax
push eax
call fcn.004a2d10
add esp, 0xc
test eax, eax
je 0x4e48ed
mov eax, dword [esp + 0x3c]
add eax, eax
add eax, eax
add eax, eax
inc esi
add edi, eax
cmp esi, ebx
jle 0x4e4460
mov eax, dword [esp + 0xd8]
mov esi, dword [esp + 0x4c]
dec eax
push eax
push esi
call fcn.0045d4c0
add esp, 8
test eax, eax
je 0x4e48ed
push esi
mov esi, dword [esp + 0x68]
push esi
call fcn.0045d080
add esp, 8
test eax, eax
je 0x4e48ed
mov edx, dword [esp + 0x48]
push edx
push esi
push esi
call fcn.004a2d10
add esp, 0xc
test eax, eax
je 0x4e48ed
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x34]
push eax
push ebp
call fcn.004a0990
add esp, 8
test eax, eax
je 0x4e48ed
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x5c]
push ecx
push ebp
push esi
push edi
push 0
call fcn.004d24a0
add esp, 0x14
test eax, eax
je 0x4e48ed
call fcn.0045cda0
push eax
push edi
push ebp
call fcn.004a2c40
add esp, 0xc
test eax, eax
je 0x4e48ed
push ebp
push esi
mov esi, dword [esp + 0x78]
push esi
call fcn.004a2c40
add esp, 0xc
test eax, eax
je 0x4e48ed
mov edx, dword [esp + 0x48]
push edx
push esi
call fcn.0045d350
add esp, 8
test eax, eax
jl 0x4e45f7
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
push edi
push 1
push eax
push 0x32
push esi
call fcn.004e8340
add esp, 0x14
test eax, eax
jg 0x4e462a
jne 0x4e48ed
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 0x4e4420
cmp dword [esp + 0x54], 0
jne 0x4e48af
mov edi, dword [esp + 0x6c]
jmp 0x4e42a0
push 1
push 2
push edi
call fcn.004e7ee0
add esp, 0xc
test eax, eax
je 0x4e48ed
mov ebx, dword [esp + 0xec]
call fcn.0045cda0
mov edi, dword [esp + 0x48]
push eax
push esi
push edi
call fcn.004a2c40
add esp, 0xc
test eax, eax
je 0x4e48ed
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push ecx
push edx
push edi
push 0
push ebp
call fcn.004d24a0
add esp, 0x14
test eax, eax
je 0x4e48ed
test ebx, ebx
jge 0x4e4699
push 2
push edi
call fcn.0045d130
add esp, 8
test eax, eax
je 0x4e48ed
jmp 0x4e46a1
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
push eax
push esi
push ecx
call fcn.004ad220
add esp, 0xc
test eax, eax
je 0x4e48ed
lea esp, [esp]
test ebx, ebx
jl 0x4e479c
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.00476100
add esp, 0xc
test eax, eax
je 0x4e48ed
mov edx, dword [esp + 0xe8]
mov eax, dword [esp + 0x18]
push edx
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.004762b0
add esp, 0xc
test eax, eax
je 0x4e48ed
push 4
lea edx, [esp + 0x78]
push str.ggen.cryptodsadsa_gen.c
push edx
call fcn.004762b0
add esp, 0xc
test eax, eax
je 0x4e48ed
push 3
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x7c]
push ecx
call fcn.004762b0
add esp, 0xc
test eax, eax
je 0x4e48ed
push 0
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0x7c]
push eax
call fcn.004762c0
add esp, 0xc
test eax, eax
je 0x4e48ed
mov ecx, dword [esp + 0x3c]
push edi
push ecx
lea edx, [esp + 0x94]
push edx
call fcn.0045d190
add esp, 0xc
test eax, eax
je 0x4e48ed
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.004cf0d0
add esp, 0x18
test eax, eax
je 0x4e48ed
mov eax, dword [esp + 0x50]
cmp dword [eax + 4], 1
jne 0x4e480c
mov ecx, dword [eax]
cmp dword [ecx], 1
jne 0x4e480c
cmp dword [eax + 0xc], 0
jne 0x4e480c
test ebx, ebx
jge 0x4e47f1
call fcn.0045cda0
push eax
push edi
push edi
call fcn.004a2d10
add esp, 0xc
test eax, eax
je 0x4e48ed
inc dword [esp + 0x20]
test ebx, ebx
jl 0x4e479c
cmp dword [esp + 0x20], 0xffff
jbe 0x4e46c0
jmp 0x4e48ed
mov edx, dword [esp + 0x24]
push 1
push 3
push edx
call fcn.004e7ee0
add esp, 0xc
test eax, eax
je 0x4e48ed
mov edi, dword [esp + 0x30]
mov eax, dword [edi + 0xc]
mov dword [esp + 0x2c], 1
cmp esi, eax
je 0x4e4851
test eax, eax
je 0x4e4845
push eax
call fcn.0045ce90
add esp, 4
push esi
call fcn.0045d7f0
add esp, 4
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x10]
mov esi, dword [esp + 0x1c]
cmp esi, eax
je 0x4e4875
test eax, eax
je 0x4e4869
push eax
call fcn.0045ce90
add esp, 4
push esi
call fcn.0045d7f0
add esp, 4
mov dword [edi + 0x10], eax
mov eax, dword [edi + 0x14]
test eax, eax
je 0x4e4885
push eax
call fcn.0045ce90
add esp, 4
mov eax, dword [esp + 0x50]
push eax
call fcn.0045d7f0
add esp, 4
cmp dword [edi + 0xc], 0
mov dword [edi + 0x14], eax
je 0x4e48a5
cmp dword [edi + 0x10], 0
je 0x4e48a5
test eax, eax
jne 0x4e48d1
mov dword [esp + 0x2c], 0xffffffff
jmp 0x4e48ed
push 0x269
push 0x55a7f0
push 0x70
push 0x7e
push 0xa
mov dword [esp + 0x40], 0
call fcn.0044c910
add esp, 0x14
jmp 0x4e48ed
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4e48df
mov ecx, dword [esp + 0x38]
mov dword [eax], ecx
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4e48ed
mov edx, dword [esp + 0x20]
mov dword [eax], edx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4e48fe
push eax
call fcn.004515f0
add esp, 4
mov eax, dword [esp + 0x18]
cmp dword [esp + 0x58], eax
je 0x4e4911
push eax
call fcn.004515f0
add esp, 4
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4e4928
push esi
call fcn.004927b0
push esi
call fcn.00492730
add esp, 8
mov eax, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
test eax, eax
je 0x4e493d
push eax
call fcn.004ad1e0
add esp, 4
lea eax, [esp + 0x64]
push eax
call fcn.00476340
mov ecx, dword [esp + 0xc0]
mov eax, dword [esp + 0x20]
add esp, 4
xor ecx, esp
call fcn.004f8e7f
add esp, 0xc0
ret