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

Disassembly:
mov eax, 0xb0
call fcn.005349d0
mov eax, dword [0x597004]
xor eax, esp
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0xc0]
mov ecx, dword [esp + 0xb4]
mov dword [esp + 8], eax
mov eax, dword [esp + 0xc4]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0xd0]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0xd4]
push ebx
mov dword [esp + 0x68], eax
xor ebx, ebx
mov eax, dword [esp + 0xdc]
push ebp
mov ebp, dword [esp + 0xd0]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xe4]
push esi
mov esi, dword [esp + 0xc8]
mov dword [esp + 0x20], eax
mov eax, esi
shr eax, 3
push edi
mov dword [esp + 0x54], ecx
xor edi, edi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x38], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x60], eax
call fcn.00450df0
mov dword [esp + 0x2c], eax
mov ecx, 2
mov dword [esp + 0x34], ecx
test eax, eax
je 0x4b91d3
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4b8a2d
cmp esi, 0xa0
jne 0x4b8a15
call fcn.00451140
jmp 0x4b8a29
cmp esi, 0xe0
jne 0x4b8a24
call fcn.00451150
jmp 0x4b8a29
call fcn.00451160
mov dword [esp + 0x18], eax
push eax
call fcn.00468cf0
mov esi, eax
add esp, 4
mov eax, dword [esp + 0x54]
mov dword [esp + 0x30], esi
cmp dword [eax + 8], ebx
je 0x4b8a53
cmp dword [eax + 0xc], ebx
je 0x4b8a53
cmp dword [esp + 0xdc], ebx
jl 0x4b8ab3
test ebp, ebp
push 0x152
cmove ebp, esi
push 0x570db0
push ebp
mov dword [esp + 0x2c], ebp
call fcn.0044a4d0
mov ebx, eax
add esp, 0xc
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x4b8a8c
push 0x157
push 0x570db0
push ebp
call fcn.0044a4d0
add esp, 0xc
mov dword [esp + 0x38], eax
test ebx, ebx
je 0x4b91d3
test eax, eax
je 0x4b91d3
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4b8ab3
push ebp
push eax
push ebx
call fcn.00518100
add esp, 0xc
call fcn.0046df50
mov ebp, eax
mov dword [esp + 0x10], ebp
test ebp, ebp
je 0x4b91d5
call fcn.00461b90
mov dword [esp + 0x44], eax
test eax, eax
je 0x4b91d5
push ebp
call fcn.0046dfc0
push ebp
call fcn.0046def0
push dword [esp + 0x18]
mov ebp, eax
call fcn.0046def0
push dword [esp + 0x1c]
mov dword [esp + 0x68], eax
call fcn.0046def0
push dword [esp + 0x20]
mov dword [esp + 0x60], eax
call fcn.0046def0
push dword [esp + 0x24]
mov dword [esp + 0x88], eax
call fcn.0046def0
push dword [esp + 0x28]
mov dword [esp + 0x58], eax
call fcn.0046def0
add esp, 0x1c
mov dword [esp + 0x14], eax
test eax, eax
je 0x4b8f98
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + 8]
mov dword [esp + 0x1c], eax
test eax, eax
je 0x4b8b71
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x28], eax
test eax, eax
je 0x4b8b71
cmp dword [esp + 0xdc], edi
jl 0x4b8f47
push dword [esp + 0x20]
push ebx
push dword [esp + 0x40]
call fcn.00518100
add esp, 0xc
jmp 0x4b8f47
mov esi, dword [esp + 0x10]
push esi
call fcn.0046def0
push esi
mov dword [esp + 0x24], eax
call fcn.0046def0
add esp, 8
mov dword [esp + 0x28], eax
test eax, eax
je 0x4b8f98
mov eax, dword [esp + 0xc8]
dec eax
push eax
mov dword [esp + 0x70], eax
call fcn.0044de40
push eax
push dword [esp + 0x1c]
call fcn.0048b930
add esp, 0xc
test eax, eax
je 0x4b8f98
mov esi, dword [esp + 0x40]
nop
mov edi, dword [esp + 0x20]
push dword [esp + 0x48]
push 0
push dword [esp + 0x2c]
call fcn.004c2e40
inc dword [esp + 0x54]
add esp, 0xc
test eax, eax
je 0x4b8f98
test esi, esi
jne 0x4b8bf8
push edi
push ebx
call fcn.00455400
add esp, 8
test eax, eax
jle 0x4b8f98
push 0
push dword [esp + 0x1c]
lea eax, [esp + 0x84]
push 0
push eax
push edi
push ebx
call fcn.00450900
add esp, 0x18
test eax, eax
je 0x4b8f98
mov ecx, dword [esp + 0x30]
lea esi, [esp + 0x7c]
mov edx, dword [esp + 0x60]
cmp ecx, edx
jle 0x4b8c32
mov eax, ecx
sub eax, edx
add esi, eax
cmp ecx, edx
jge 0x4b8c51
mov eax, edx
sub eax, ecx
push eax
lea eax, [esp + 0x80]
add eax, ecx
push 0
push eax
call fcn.00517fa0
mov edx, dword [esp + 0x6c]
add esp, 0xc
push dword [esp + 0x28]
or byte [esi], 0x80
or byte [esi + edx - 1], 1
push edx
push esi
call fcn.0044d260
add esp, 0xc
test eax, eax
je 0x4b8f98
push dword [esp + 0x24]
mov esi, dword [esp + 0x44]
xor eax, eax
test esi, esi
setne al
push eax
push dword [esp + 0x18]
push 0x32
push dword [esp + 0x38]
call fcn.004c3140
add esp, 0x14
test eax, eax
jg 0x4b8cc6
jne 0x4b8f98
test esi, esi
je 0x4b8bc4
push 0x1a8
push 0x570db0
push 0x71
push 0x7e
push 0xa
xor esi, esi
call fcn.00457d10
mov ebp, dword [esp + 0x24]
add esp, 0x14
jmp 0x4b91d8
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x4b8cd9
push edi
push ebx
push eax
call fcn.00518100
add esp, 0xc
mov esi, dword [esp + 0x24]
push 0
push 2
push esi
call fcn.004c2e40
add esp, 0xc
test eax, eax
je 0x4b8f98
push 0
push 3
push esi
call fcn.004c2e40
add esp, 0xc
test eax, eax
je 0x4b8f98
mov ecx, dword [esp + 0x30]
xor edi, edi
mov eax, dword [esp + 0xc8]
xor edx, edx
shl ecx, 3
dec eax
div ecx
mov dword [esp + 0x50], edi
mov esi, eax
mov dword [esp + 0x64], esi
test edi, edi
je 0x4b8d41
push edi
push 0
push dword [esp + 0x2c]
call fcn.004c2e40
add esp, 0xc
test eax, eax
je 0x4b8f98
push 0
push dword [esp + 0x50]
call fcn.0044dd90
add esp, 8
xor edi, edi
test esi, esi
js 0x4b8e08
mov ecx, dword [esp + 0x20]
xor esi, esi
lea eax, [ecx - 1]
mov dword [esp + 0x68], eax
test eax, eax
js 0x4b8d7b
nop word [eax + eax]
add byte [eax + ebx], 1
jne 0x4b8d7b
sub eax, 1
jns 0x4b8d70
push 0
push dword [esp + 0x1c]
lea eax, [esp + 0x84]
push 0
push eax
push ecx
push ebx
call fcn.00450900
add esp, 0x18
test eax, eax
je 0x4b8f98
push ebp
push dword [esp + 0x34]
lea eax, [esp + 0x84]
push eax
call fcn.0044d260
add esp, 0xc
test eax, eax
je 0x4b8f98
push esi
push ebp
push ebp
call fcn.0048b930
add esp, 0xc
test eax, eax
je 0x4b8f98
mov eax, dword [esp + 0x4c]
push ebp
push eax
push eax
call fcn.0046e220
add esp, 0xc
test eax, eax
je 0x4b8f98
mov ecx, dword [esp + 0x30]
inc edi
lea eax, [ecx*8]
mov ecx, dword [esp + 0x20]
add esi, eax
mov eax, dword [esp + 0x68]
cmp edi, dword [esp + 0x64]
jle 0x4b8d66
mov esi, dword [esp + 0x64]
push dword [esp + 0x6c]
mov edi, dword [esp + 0x50]
push edi
call fcn.0044dab0
add esp, 8
test eax, eax
je 0x4b8f98
push edi
mov edi, dword [esp + 0x74]
push edi
call fcn.0044d7c0
add esp, 8
test eax, eax
je 0x4b8f98
push dword [esp + 0x14]
push edi
push edi
call fcn.0046e220
add esp, 0xc
test eax, eax
je 0x4b8f98
push dword [esp + 0x28]
push ebp
call fcn.0048ba60
add esp, 8
test eax, eax
je 0x4b8f98
push dword [esp + 0x10]
push ebp
push edi
push dword [esp + 0x48]
push 0
call fcn.00491da0
add esp, 0x14
test eax, eax
je 0x4b8f98
call fcn.0044de40
push eax
push dword [esp + 0x40]
push ebp
call fcn.0046e2b0
add esp, 0xc
test eax, eax
je 0x4b8f98
push ebp
push edi
mov edi, dword [esp + 0x24]
push edi
call fcn.0046e2b0
add esp, 0xc
test eax, eax
je 0x4b8f98
push dword [esp + 0x14]
push edi
call fcn.0044d470
add esp, 8
test eax, eax
js 0x4b8ee4
mov edi, dword [esp + 0x24]
push edi
push 1
push dword [esp + 0x18]
push 0x32
push dword [esp + 0x2c]
call fcn.004c3140
add esp, 0x14
test eax, eax
jg 0x4b8f2e
jne 0x4b8f98
mov edi, dword [esp + 0x50]
mov eax, dword [esp + 0xc8]
inc edi
shl eax, 2
mov dword [esp + 0x50], edi
cmp edi, eax
jl 0x4b8d26
mov esi, dword [esp + 0x40]
test esi, esi
je 0x4b8bc0
push 0x201
push 0x570db0
push 0x70
push 0x7e
push 0xa
xor esi, esi
call fcn.00457d10
mov ebp, dword [esp + 0x24]
add esp, 0x14
jmp 0x4b91d8
push 1
push 2
push edi
call fcn.004c2e40
add esp, 0xc
test eax, eax
je 0x4b8f98
mov edi, dword [esp + 0x50]
mov esi, dword [esp + 0x30]
call fcn.0044de40
push eax
push dword [esp + 0x20]
push dword [esp + 0x1c]
call fcn.0046e2b0
add esp, 0xc
test eax, eax
je 0x4b8f98
push dword [esp + 0x10]
push dword [esp + 0x2c]
push dword [esp + 0x1c]
push 0
push ebp
call fcn.00491da0
add esp, 0x14
test eax, eax
je 0x4b8f98
cmp dword [esp + 0xdc], 0
jge 0x4b8fa1
push 2
push dword [esp + 0x18]
call fcn.0044dd90
add esp, 8
test eax, eax
jne 0x4b8faa
mov ebp, dword [esp + 0x10]
jmp 0x4b91d5
mov ecx, 1
mov dword [esp + 0x34], ecx
push dword [esp + 0x10]
push dword [esp + 0x20]
push dword [esp + 0x4c]
call fcn.00461bf0
add esp, 0xc
test eax, eax
je 0x4b8f98
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0xdc]
nop dword [eax]
test eax, eax
js 0x4b9098
push 0
push dword [esp + 0x1c]
mov byte [esp + 0x84], al
mov eax, ecx
push dword [esp + 0x34]
shr eax, 8
mov byte [esp + 0x89], al
mov byte [esp + 0x8a], cl
call fcn.00450a60
add esp, 0xc
test eax, eax
je 0x4b8f98
push dword [esp + 0x20]
push dword [esp + 0x3c]
push dword [esp + 0x34]
call fcn.00450c10
add esp, 0xc
test eax, eax
je 0x4b8f98
push 4
push str.ggencryptodsadsa_gen.c
push dword [esp + 0x34]
call fcn.00450c10
add esp, 0xc
test eax, eax
je 0x4b8f98
push 3
lea eax, [esp + 0x80]
push eax
push dword [esp + 0x34]
call fcn.00450c10
add esp, 0xc
test eax, eax
je 0x4b8f98
push 0
lea eax, [esp + 0x80]
push eax
push dword [esp + 0x34]
call fcn.004509c0
add esp, 0xc
test eax, eax
je 0x4b8f98
push dword [esp + 0x14]
lea eax, [esp + 0x80]
push esi
push eax
call fcn.0044d260
add esp, 0xc
test eax, eax
je 0x4b8f98
push dword [esp + 0x44]
push dword [esp + 0x14]
push dword [esp + 0x24]
push ebp
push dword [esp + 0x24]
push dword [esp + 0x6c]
call fcn.0049ea60
add esp, 0x18
test eax, eax
je 0x4b8f98
push dword [esp + 0x58]
call fcn.0044da50
add esp, 4
test eax, eax
je 0x4b911d
mov eax, dword [esp + 0xdc]
test eax, eax
jns 0x4b90fb
call fcn.0044de40
push eax
mov eax, dword [esp + 0x18]
push eax
push eax
call fcn.0046e220
add esp, 0xc
test eax, eax
je 0x4b8f98
mov eax, dword [esp + 0xdc]
mov ecx, dword [esp + 0x34]
inc ecx
mov dword [esp + 0x34], ecx
test eax, eax
js 0x4b9098
cmp ecx, 0xffff
jbe 0x4b8fd0
mov ebp, dword [esp + 0x10]
jmp 0x4b91d5
push 1
push 3
push dword [esp + 0x2c]
call fcn.004c2e40
add esp, 0xc
test eax, eax
je 0x4b8f98
mov dword [esp + 0x3c], 1
nop dword [eax]
mov esi, dword [esp + 0x54]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi + 8]
cmp ebp, eax
je 0x4b9161
push eax
call fcn.0044d940
push ebp
call fcn.0044d8b0
add esp, 8
mov dword [esi + 8], eax
mov eax, dword [esi + 0xc]
mov ebp, dword [esp + 0x28]
cmp ebp, eax
je 0x4b917e
push eax
call fcn.0044d940
push ebp
call fcn.0044d8b0
add esp, 8
mov dword [esi + 0xc], eax
push dword [esi + 0x10]
call fcn.0044d940
push dword [esp + 0x5c]
call fcn.0044d8b0
add esp, 8
mov dword [esi + 0x10], eax
cmp dword [esi + 8], 0
je 0x4b8f98
cmp dword [esi + 0xc], 0
je 0x4b8f98
test eax, eax
je 0x4b8f98
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4b91bb
mov dword [eax], edi
mov eax, dword [esp + 0x78]
mov ebp, dword [esp + 0x10]
mov esi, dword [esp + 0x3c]
test eax, eax
je 0x4b91d8
mov ecx, dword [esp + 0x34]
mov dword [eax], ecx
jmp 0x4b91d8
xor ebp, ebp
or esi, 0xffffffff
push 0x252
push 0x570db0
push ebx
call fcn.0044a500
mov eax, dword [esp + 0x44]
add esp, 0xc
cmp dword [esp + 0x5c], eax
je 0x4b9208
push 0x254
push 0x570db0
push eax
call fcn.0044a500
add esp, 0xc
test ebp, ebp
je 0x4b9215
push ebp
call fcn.0046de70
add esp, 4
push ebp
call fcn.0046deb0
push dword [esp + 0x48]
call fcn.00461b40
push dword [esp + 0x34]
call fcn.00450dd0
mov ecx, dword [esp + 0xc8]
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004058df
add esp, 0xb0
ret