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

Disassembly:
mov eax, 0x64
call fcn.00475160
mov eax, dword [esp + 0x6c]
push ebx
xor ebx, ebx
push ebp
cmp eax, ebx
jle 0x48984d
mov ebp, dword [esp + 0x78]
cmp ebp, ebx
je 0x489846
cmp dword [ebp + 0x10], ebx
je 0x489846
push esi
mov esi, dword [ebp + 8]
cmp esi, ebx
push edi
jne 0x489701
mov eax, dword [0x504388]
cmp eax, ebx
je 0x48955a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push ecx
push eax
mov dword [esp + 0x28], ebp
call fcn.00466660
add esp, 8
cmp eax, ebx
je 0x48955a
mov edx, dword [eax + 4]
mov esi, dword [edx + 8]
jmp 0x489701
mov esi, dword [ebp + 0xc]
mov eax, 0x9a
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], esi
add eax, ebx
mov ecx, esi
cdq
sub eax, edx
sar eax, 1
mov edx, dword [eax*4 + 0x4f93c0]
lea ebp, [eax*4 + 0x4f93c0]
sub ecx, dword [edx + 0xc]
jne 0x4895a6
mov edi, dword [edx + 0x10]
mov edx, dword [esp + 0x80]
mov ecx, esi
mov esi, dword [edx + 0x10]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4895a0
sbb edx, edx
sbb edx, 0xffffffff
mov esi, dword [esp + 0x10]
mov ecx, edx
test ecx, ecx
jge 0x4895b0
mov dword [esp + 0x14], eax
jmp 0x4895b9
jle 0x4896ec
lea ebx, [eax + 1]
mov eax, dword [esp + 0x14]
cmp ebx, eax
jl 0x48956a
mov ebp, dword [esp + 0x80]
mov edi, dword [ebp + 0xc]
mov ebp, dword [ebp + 0x10]
xor esi, esi
xor ecx, ecx
test edi, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x80], ebp
jle 0x4895f7
mov al, byte [esi + ebp]
mov dl, al
and edx, 0x7f
or ecx, edx
test al, 0x80
je 0x4895f7
shl ecx, 7
inc esi
cmp esi, edi
jl 0x4895e1
mov eax, 0xcccccccd
inc esi
mul ecx
shr edx, 5
cmp edx, 2
jle 0x48960c
mov edx, 2
lea eax, [edx + edx*4]
shl eax, 3
sub ecx, eax
push ecx
push edx
lea ecx, [esp + 0x5c]
push str._d._lu
push ecx
call fcn.00476d52
lea edi, [esp + 0x64]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x8c]
repne scasb al, byte es:[edi]
mov ebp, dword [esp + 0x88]
lea eax, [esp + 0x64]
not ecx
push edx
dec ecx
push eax
push ebp
mov edi, ecx
call fcn.00476470
mov ebx, dword [esp + 0x98]
mov ecx, dword [esp + 0x2c]
sub ebx, edi
add esp, 0x1c
add ebp, edi
xor eax, eax
mov dword [esp + 0x7c], ebx
cmp esi, ecx
mov ebx, edi
jge 0x4896d9
mov ecx, dword [esp + 0x80]
mov cl, byte [ecx + esi]
mov dl, cl
and edx, 0x7f
or eax, edx
test cl, 0x80
jne 0x4896cd
push eax
lea eax, [esp + 0x58]
push str.._lu
push eax
call fcn.00476d52
lea edi, [esp + 0x60]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x7c]
not ecx
dec ecx
test eax, eax
mov edi, ecx
jle 0x4896bd
lea ecx, [esp + 0x54]
push eax
push ecx
push ebp
call fcn.00476470
add esp, 0xc
mov edx, dword [esp + 0x7c]
add ebp, edi
sub edx, edi
add ebx, edi
mov dword [esp + 0x7c], edx
xor eax, eax
mov ecx, dword [esp + 0x10]
shl eax, 7
inc esi
cmp esi, ecx
jl 0x48966d
mov edx, dword [esp + 0x7c]
pop edi
pop esi
mov eax, ebx
mov byte [edx + ebp - 1], 0
pop ebp
pop ebx
add esp, 0x64
ret
test ebp, ebp
je 0x4895c1
mov eax, dword [ebp]
mov ebp, dword [esp + 0x80]
mov esi, dword [eax + 8]
test esi, esi
je 0x4895c8
mov eax, dword [esp + 0x84]
test eax, eax
jne 0x4895c8
test esi, esi
mov ebx, 3
jl 0x489774
cmp esi, 0xb5
jge 0x489774
lea eax, [esi + esi*2]
shl eax, 3
mov ecx, dword [eax + 0x4f7de0]
test ecx, ecx
jne 0x489740
push 0x147
jmp 0x4897ac
mov edi, dword [eax + 0x4f7ddc]
test edi, edi
jne 0x489815
test esi, esi
jl 0x4897c9
cmp esi, 0xb5
jge 0x4897c9
lea esi, [esi + esi*2]
shl esi, 3
mov eax, dword [esi + 0x4f7de0]
test eax, eax
jne 0x4897c1
push 0x127
jmp 0x489800
mov eax, dword [0x504388]
test eax, eax
je 0x48974e
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x24]
push edx
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], esi
call fcn.00466660
add esp, 8
test eax, eax
je 0x4897a7
mov eax, dword [eax + 4]
mov edi, dword [eax + 4]
jmp 0x489746
push 0x158
push str..cryptoobjectsobj_dat.c
push 0x65
push 0x66
push 8
call fcn.004616f0
add esp, 0x14
jmp 0x48974e
mov edi, dword [esi + 0x4f7dd8]
jmp 0x489815
mov eax, dword [0x504388]
test eax, eax
je 0x489813
lea edx, [esp + 0x14]
lea ecx, [esp + 0x3c]
push edx
push eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x4c], esi
call fcn.00466660
add esp, 8
test eax, eax
je 0x4897fb
mov eax, dword [eax + 4]
mov edi, dword [eax]
jmp 0x489815
push 0x138
push str..cryptoobjectsobj_dat.c
push 0x65
push 0x68
push 8
call fcn.004616f0
add esp, 0x14
xor edi, edi
mov ecx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
push ecx
push edi
push ebp
call fcn.00476470
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
mov edx, dword [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
mov ebx, ecx
mov byte [edx + ebp - 1], al
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x64
ret
mov eax, dword [esp + 0x70]
mov byte [eax], 0
pop ebp
xor eax, eax
pop ebx
add esp, 0x64
ret