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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
mov esi, esp
mov dword [esi + 0x78], ebp
mov dword [esi + 0x7c], esp
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x84], 0x538940
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esi + 4], edx
mov eax, dword fs:[0]
mov dword [esi + 0x80], eax
lea eax, [esi + 0x80]
mov dword fs:[0], eax
mov eax, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x14]
cmp ebx, eax
mov dword [esi + 0x2c], eax
jae 0x48f62d
mov eax, dword [ecx + 8]
mov ecx, dword [edx + 0x260]
mov edi, dword [edx + 0x268]
movzx eax, byte [eax + ebx]
or edi, dword [edx + 0x278]
or ecx, dword [edx + 0x270]
mov byte [esi + 0x10], al
mov eax, dword [edx + 0x26c]
or ecx, edi
mov edi, dword [edx + 0x264]
or eax, dword [edx + 0x27c]
or edi, dword [edx + 0x274]
or edi, eax
movzx eax, byte [esi + 0x10]
or edi, ecx
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [esi + 0x20], eax
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esi + 0xc], ecx
je 0x48f794
mov ch, byte [esi + 0x10]
mov dword [esi + 0x18], eax
mov dword [esi + 0x74], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x68], 1
mov dword [esi + 0x64], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x58], 0
mov al, ch
and ch, 7
and al, 0x78
mov cl, ch
shr al, 3
neg al
movsx eax, al
mov edi, dword [esi + eax + 0x70]
mov dword [esi + 0x14], eax
mov eax, dword [esi + eax + 0x74]
shld eax, edi, cl
shl edi, cl
not cl
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x14]
mov eax, dword [esi + eax + 0x6c]
mov dword [esi + 8], ebx
mov ebx, eax
mov edx, eax
mov eax, dword [esi + 0x20]
shr ebx, 1
shr ebx, cl
mov cl, ch
or ebx, edi
mov edi, dword [esi + 0x14]
shr eax, 3
and eax, 0xfffffff0
mov edi, dword [esi + edi + 0x68]
shld edx, edi, cl
shl edi, cl
mov ecx, dword [esi + 4]
mov dword [esi + 0x28], edx
add ecx, 0x260
mov dword [esi + 0x14], ecx
and ebx, dword [ecx + eax + 8]
mov ecx, dword [esi + 0x24]
mov edx, dword [esi + 0x14]
and ecx, dword [edx + eax + 0xc]
mov edx, dword [esi + 0x28]
mov dword [esi + 0x24], ecx
mov ecx, dword [esi + 0x14]
and edx, dword [ecx + eax + 4]
and edi, dword [ecx + eax]
mov eax, dword [esi + 0x18]
or edx, dword [esi + 0x24]
or edi, ebx
mov ebx, dword [esi + 8]
or edx, edi
mov edi, dword [ebp + 8]
je 0x48f794
movzx eax, byte [esi + 0x10]
mov dword [esi + 0x4c], 4
mov byte [esi + 0x50], al
jmp 0x48f67e
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov cl, 2
mov byte [esi + 8], cl
movzx ecx, cl
test eax, eax
je 0x48f7b0
cmp eax, 1
jne 0x48f7cb
add ecx, 6
mov dword [esi + 0xc], edx
mov edx, dword [edi + 0x88]
cmp ecx, edx
jae 0x48f7c1
mov edx, dword [edi + 0x84]
mov edx, dword [edx + ecx*4]
movzx ecx, byte [esi + 8]
test edx, edx
js 0x48fac6
mov dword [esi + 0x50], edx
mov dword [esi + 0x4c], 5
lea edi, [esi + 0x4c]
lea ecx, [esi + 0x30]
mov edx, edi
push ebx
call fcn.0048d850
add esp, 4
cmp dword [esi + 0x30], 0
mov edx, dword [esi + 0x34]
je 0x48f6e4
mov dword [esi + 0x54], edx
movzx eax, byte [edx]
test eax, eax
je 0x48f6ab
cmp eax, 1
jne 0x48ffcc
mov edi, dword [edx + 4]
push edx
push 0
push dword [0x5b93c8]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 0x1c]
mov dword [eax + 4], 1
mov dword [eax + 8], edi
mov dword [eax], 2
mov eax, dword [esi + 0x80]
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x10]
cmp eax, ebx
jne 0x48f7ea
mov edi, dword [ebp + 8]
test ebx, ebx
je 0x48fa47
mov eax, dword [esi + 0x2c]
lea ecx, [ebx - 1]
mov dword [esi + 8], ebx
cmp ecx, eax
jae 0x48ff58
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
mov eax, dword [eax + 8]
movzx eax, byte [eax + ecx]
mov ecx, edx
and ecx, 0x7ffffff
mov byte [esi + 0x2c], al
movzx ebx, al
mov eax, dword [esi + 4]
movzx eax, byte [eax + ebx + 0x160]
add ecx, eax
mov eax, dword [edi + 0x7c]
cmp ecx, eax
jae 0x48ff1e
mov eax, dword [edi + 0x78]
mov edi, dword [eax + ecx*4]
test edi, edi
js 0x48fc2a
test edi, 0x8000000
jne 0x48fe17
test edi, 0x20000000
je 0x48fa8e
movzx eax, byte [0x5b9430]
xor ecx, ecx
mov edx, 0xc
call fcn.0051b940
test eax, eax
je 0x490074
movzx ecx, byte [esi + 0x2c]
mov edi, dword [esi + 0xc]
mov byte [eax], 0
mov byte [eax + 1], cl
jmp 0x48fef2
mov ecx, dword [esi + 4]
mov edx, dword [esi + 0x20]
movzx ecx, byte [ecx + edx + 0x60]
mov edx, dword [esi + 0xc]
mov byte [esi + 8], cl
movzx ecx, cl
test eax, eax
jne 0x48f642
mov dword [esi + 0xc], edx
mov edx, dword [edi + 0x88]
cmp ecx, edx
jb 0x48f65f
push 0x5557fc
call fcn.0053bb10
mov dword [esi + 0x18], eax
mov eax, dword [esi + 4]
test byte [eax + 0x59], 1
jne 0x48f97c
mov dword [esi + 0x4c], 2
mov dword [esi + 0x50], edx
jmp 0x48f67e
mov dword [esi + 0x10], eax
mov eax, dword [ecx + 8]
mov edi, dword [ebp + 8]
dec ebx
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x280]
mov eax, dword [eax + 0x284]
and eax, 0x1f
mov dword [esi + 0x18], ecx
mov dword [esi + 0x28], eax
nop word cs:[eax + eax]
cmp ebx, dword [esi + 0x2c]
jae 0x48fefb
mov eax, dword [esi + 0x24]
mov dword [esi + 8], ebx
mov ecx, edx
and ecx, 0x7ffffff
movzx ebx, byte [eax + ebx]
mov eax, dword [esi + 4]
movzx eax, byte [eax + ebx + 0x160]
add ecx, eax
mov eax, dword [edi + 0x7c]
cmp ecx, eax
jae 0x48ff14
mov eax, dword [edi + 0x78]
mov edi, dword [eax + ecx*4]
test edi, edi
js 0x48f915
cmp edi, 0x7ffffff
jbe 0x48f950
mov edx, dword [esi + 0xc]
test edi, 0x8000000
jne 0x48f8a0
mov ebx, dword [esi + 8]
test edi, 0x40000000
jne 0x48fb7e
test edi, 0x20000000
je 0x48f956
jmp 0x48fb8e
mov eax, dword [esi + 0x18]
mov ebx, dword [esi + 8]
mov dword [esi + 0x14], 0
cmp dword [eax + 0x15c], 1
je 0x48f909
mov eax, edi
mov ecx, dword [esi + 0x28]
and eax, 0x7ffffff
shr eax, cl
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x94]
cmp eax, edx
jae 0x48ff42
mov ecx, dword [ecx + 0x90]
mov edx, dword [ecx + eax*8 + 4]
test edx, edx
je 0x48ff2a
mov eax, dword [ecx + eax*8]
test byte [eax + 8], 2
je 0x48f909
cmp edx, 0xd
jb 0x49002a
add edx, 0xfffffff3
cmp edx, 3
jbe 0x490011
mov eax, dword [eax + 0x15]
mov dword [esi + 0x14], eax
lea edx, [ebx + 1]
mov dword [esi + 0x20], 1
jmp 0x48f956
mov eax, dword [esi + 4]
shl ebx, 8
mov dword [esi + 0x88], 0xffffffff
lea ecx, [esi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x34], eax
push ebx
call fcn.00541b40
add esp, 4
test eax, eax
jne 0x48fcf0
mov edi, edx
cmp edi, 0x7ffffff
ja 0x48f86d
mov ebx, dword [esi + 8]
mov edx, dword [esi + 0xc]
cmp dword [esi + 0x10], ebx
mov dword [esi + 0xc], edx
je 0x48f9b4
dec ebx
mov edx, edi
mov edi, dword [ebp + 8]
cmp ebx, dword [ebp + 0x10]
jae 0x48f820
mov eax, dword [esi + 0x1c]
mov dword [eax + 4], 0
jmp 0x48f6ca
mov dword [esi + 0xc], edx
mov edx, dword [eax + 0x280]
mov eax, dword [esi + 0xc]
cmp dword [edx + 0x15c], eax
mov edx, dword [esi + 0xc]
jbe 0x48fa95
mov eax, dword [esi + 0x18]
lea edx, [edx + edx*2]
lea ecx, [ecx + edx*2 + 0xc]
mov edx, dword [edi + 0x88]
cmp ecx, edx
jb 0x48f65f
jmp 0x48f7c1
mov eax, dword [esi + 0x10]
test eax, eax
je 0x48faef
mov ecx, dword [esi + 0x24]
mov ebx, dword [ebp + 8]
movzx eax, byte [ecx + eax - 1]
mov ecx, dword [esi + 4]
mov byte [esi + 8], al
movzx eax, al
movzx edx, byte [ecx + eax + 0x160]
mov ecx, edi
and ecx, 0x7ffffff
add ecx, edx
mov edx, dword [ebx + 0x7c]
cmp ecx, edx
jae 0x48ff70
mov edx, dword [ebx + 0x78]
mov ebx, dword [esi + 0x20]
mov edx, dword [edx + ecx*4]
test edx, edx
js 0x48fdb7
test edx, 0x8000000
jne 0x48fb63
test edx, 0x20000000
je 0x48fb3b
movzx eax, byte [0x5b9430]
xor ecx, ecx
mov edx, 0xc
call fcn.0051b940
test eax, eax
je 0x49006a
mov edi, dword [esi + 0x10]
movzx ecx, byte [esi + 8]
mov byte [eax], 0
dec edi
mov byte [eax + 1], cl
jmp 0x48fef2
mov eax, dword [esi + 4]
mov ecx, edx
and ecx, 0x7ffffff
movzx ebx, byte [eax + 0x25f]
shl ebx, 0x10
add ebx, 0x10001
mov eax, ebx
shr eax, 0x10
add ecx, eax
mov eax, dword [edi + 0x7c]
cmp ecx, eax
jae 0x48ff64
mov eax, dword [edi + 0x78]
mov edi, dword [eax + ecx*4]
test edi, edi
js 0x48fd0c
test edi, 0x8000000
jne 0x48fd3a
xor edx, edx
jmp 0x48fe96
mov eax, dword [esi + 4]
mov edx, 1
mov ecx, dword [eax + 0x284]
and ecx, 0x1f
shl edx, cl
cmp ecx, 0x1b
jae 0x490043
mov eax, dword [esi + 0x18]
or edx, 0x40000000
movzx ecx, byte [esi + 8]
test edx, edx
jns 0x48f674
mov dword [esi + 0x18], eax
mov eax, dword [esi + 4]
lea edx, [esi + 0x30]
mov dword [esi + 0x30], eax
movzx eax, cl
mov dword [esi + 0x34], edi
lea ecx, [esi + 0x4c]
push eax
push dword [esi + 0xc]
push dword [esi + 0x18]
call fcn.005434e0
add esp, 0xc
jmp 0x48f67e
mov eax, dword [esi + 4]
mov ebx, dword [ebp + 8]
mov ecx, edi
and ecx, 0x7ffffff
movzx eax, byte [eax + 0x25f]
shl eax, 0x10
add eax, 0x10001
mov edx, eax
shr edx, 0x10
add ecx, edx
mov edx, dword [ebx + 0x7c]
cmp ecx, edx
jae 0x48ff92
mov edx, dword [ebx + 0x78]
mov ebx, dword [esi + 0x20]
mov edx, dword [edx + ecx*4]
test edx, edx
js 0x48fea6
test edx, 0x8000000
jne 0x48fbc5
test edi, 0x40000000
jne 0x48fcbc
mov edi, dword [esi + 0x14]
mov edx, dword [esi + 0xc]
test ebx, ebx
je 0x48fce0
cmp edx, dword [esi + 0x10]
ja 0x48f96d
jmp 0x48fce0
mov eax, dword [esi + 0x18]
xor edi, edi
mov ebx, 1
cmp dword [eax + 0x15c], 1
jne 0x48fbe3
mov edx, dword [esi + 0x10]
jmp 0x48fce0
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x20]
mov edi, dword [esi + 0x14]
mov dword [eax], ecx
jmp 0x48fce5
mov eax, dword [esi + 0x24]
mov edx, ebx
movzx ecx, byte [eax + ebx]
mov dword [esi + 0x88], 0xffffffff
call fcn.0048c120
mov ecx, eax
call fcn.0048f260
mov ecx, dword [esi + 0x1c]
mov dword [ecx + 4], 1
mov dword [ecx + 8], eax
mov dword [ecx], 2
jmp 0x48f6d0
mov eax, dword [esi + 0x18]
xor edi, edi
mov ebx, 1
cmp dword [eax + 0x15c], 1
jne 0x48fc70
xor edx, edx
jmp 0x48fce0
and edx, 0x7ffffff
mov ecx, dword [esi + 0x28]
mov edi, dword [esi + 0x10]
shr edx, cl
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x94]
cmp edx, eax
jae 0x48ffa6
mov ecx, dword [ecx + 0x90]
mov eax, dword [ecx + edx*8 + 4]
test eax, eax
je 0x48ff2a
mov ecx, dword [ecx + edx*8]
test byte [ecx + 8], 2
jne 0x48fcc4
mov edx, edi
xor edi, edi
jmp 0x48fce0
mov eax, dword [esi + 4]
shl ebx, 8
lea ecx, [esi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x34], eax
push ebx
call fcn.00541b40
add esp, 4
test eax, eax
je 0x48fe09
movzx eax, byte [0x5b9430]
xor ecx, ecx
mov edx, 0xc
call fcn.0051b940
mov edi, dword [esi + 8]
test eax, eax
jne 0x48feef
jmp 0x490074
and edx, 0x7ffffff
mov ecx, dword [esi + 0x28]
shr edx, cl
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x94]
cmp edx, eax
jae 0x48ffa6
mov ecx, dword [ecx + 0x90]
mov eax, dword [ecx + edx*8 + 4]
test eax, eax
je 0x48ff2a
mov ecx, dword [ecx + edx*8]
mov edx, 0
test byte [ecx + 8], 2
je 0x48fce0
cmp eax, 0xd
jb 0x490083
add eax, 0xfffffff3
xor edi, edi
jmp 0x48fcd0
mov edi, dword [esi + 0x14]
mov edx, dword [esi + 0xc]
jmp 0x48fce0
cmp eax, 0xd
jb 0x490083
add eax, 0xfffffff3
cmp eax, 3
jbe 0x49009e
mov eax, dword [ecx + 0x15]
mov edx, edi
mov edi, eax
mov eax, dword [esi + 0x1c]
mov dword [eax], ebx
mov dword [eax + 4], edi
mov dword [eax + 8], edx
jmp 0x48f6d0
movzx eax, byte [0x5b9430]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 8]
mov dword [eax + 4], 1
mov dword [eax + 8], ecx
jmp 0x48f6ca
mov eax, dword [esi + 4]
lea ecx, [esi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0x34], eax
push ebx
call fcn.00541b40
add esp, 4
test eax, eax
jne 0x48fed2
mov edi, edx
test edi, 0x8000000
je 0x48fa8e
mov ecx, dword [esi + 4]
xor ebx, ebx
mov edx, 1
mov eax, dword [ecx + 0x280]
cmp dword [eax + 0x15c], 1
jne 0x48fd5a
xor eax, eax
jmp 0x48fe96
movzx ecx, byte [ecx + 0x284]
and edi, 0x7ffffff
shr edi, cl
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x94]
cmp edi, eax
jae 0x48ffbe
mov eax, dword [ecx + 0x90]
mov ecx, dword [eax + edi*8 + 4]
test ecx, ecx
mov dword [esi + 8], ecx
je 0x48ff34
mov ecx, dword [eax + edi*8]
mov eax, 0
test byte [ecx + 8], 2
je 0x48fe96
mov edx, dword [esi + 8]
cmp edx, 0xd
jb 0x490034
add edx, 0xfffffff3
xor ebx, ebx
jmp 0x48fe85
mov ecx, dword [esi + 4]
shl eax, 8
mov edx, edi
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x30], ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0x34], ecx
lea ecx, [esi + 0x30]
push eax
call fcn.00541b40
add esp, 4
test eax, eax
je 0x48fa01
movzx eax, byte [0x5b9430]
xor ecx, ecx
mov edx, 0xc
call fcn.0051b940
mov edi, dword [esi + 0x10]
test eax, eax
jne 0x48feef
jmp 0x490074
mov edi, edx
test edi, 0x8000000
je 0x48f75b
mov ebx, dword [esi + 4]
xor eax, eax
mov edx, 1
mov ecx, dword [ebx + 0x280]
cmp dword [ecx + 0x15c], 1
jne 0x48fe35
mov ebx, dword [esi + 8]
jmp 0x48fe96
movzx ecx, byte [ebx + 0x284]
and edi, 0x7ffffff
shr edi, cl
mov ecx, dword [ebp + 8]
mov ebx, dword [ecx + 0x94]
cmp edi, ebx
jae 0x48ff84
mov ecx, dword [ecx + 0x90]
mov ebx, dword [ecx + edi*8 + 4]
test ebx, ebx
mov dword [esi + 4], ebx
je 0x48ff34
mov ecx, dword [ecx + edi*8]
mov ebx, dword [esi + 8]
test byte [ecx + 8], 2
je 0x48fe96
mov edx, dword [esi + 4]
cmp edx, 0xd
jb 0x490034
add edx, 0xfffffff3
cmp edx, 3
jbe 0x49001b
mov eax, dword [ecx + 0x15]
mov edx, 1
mov ecx, dword [esi + 0x1c]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov dword [ecx + 8], ebx
jmp 0x48f6d0
mov ecx, dword [esi + 4]
mov edx, edi
mov dword [esi + 0x88], 0xffffffff
mov dword [esi + 0x30], ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 0x34], ecx
lea ecx, [esi + 0x30]
push eax
call fcn.00541b40
add esp, 4
test eax, eax
je 0x48fb2f
movzx eax, byte [0x5b9430]
xor ecx, ecx
mov edx, 0xc
xor edi, edi
call fcn.0051b940
test eax, eax
je 0x490074
mov byte [eax], 1
mov dword [eax + 4], edi
push eax
jmp 0x48f6af
mov edx, dword [esi + 0x2c]
mov dword [esi + 0x88], 0xffffffff
mov ecx, ebx
push 0x555c70
call fcn.0053bb10
mov dword [esi + 0x88], 0xffffffff
mov edx, eax
push 0x5554d0
call fcn.0053bb10
mov dword [esi + 0x88], 0xffffffff
xor ecx, ecx
xor edx, edx
push 0x5580f8
call fcn.0053bb10
mov dword [esi + 0x88], 0xffffffff
mov ecx, eax
push 0x55580c
call fcn.0053bb10
mov edx, eax
push 0x555c80
call fcn.0053bb10
mov edx, eax
push 0x5554e0
call fcn.0053bb10
mov dword [esi + 0x88], 0xffffffff
push 0x5554d0
call fcn.0053bb10
mov ecx, edi
mov edx, ebx
push 0x55580c
call fcn.0053bb10
mov dword [esi + 0x88], 0xffffffff
push 0x5554e0
call fcn.0053bb10
mov dword [esi + 0x88], 0xffffffff
mov ecx, edx
mov edx, eax
push 0x55580c
call fcn.0053bb10
mov ecx, edi
mov edx, eax
push 0x55580c
call fcn.0053bb10
lea eax, [esi + 0x54]
lea ecx, [esi + 0x30]
mov edx, 0x555bec
mov dword [esi + 0x30], 0x555b74
mov dword [esi + 0x34], 1
mov dword [esi + 0x40], 0
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], 1
mov dword [esi + 0x88], 0
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], 0x48f330
call fcn.0053ba80
ud2
mov dword [esi + 0x88], 0xffffffff
mov ecx, 4
push 0x55803c
call fcn.0053bb70
mov dword [esi + 0x88], 0xffffffff
mov ecx, 0xd
push 0x558128
call fcn.0053bab0
mov dword [esi + 0x30], edx
mov dword [esi + 0x34], 0
lea eax, [esi + 0x30]
mov ecx, str.called__Result::unwrap____on_an__Err__value
mov edx, 0x2b
push 0x55581c
push 0x554594
push eax
call fcn.0053be90
mov dword [esi + 0x88], 0xffffffff
mov ecx, 4
mov edx, 0xc
call fcn.0053b730
mov dword [esi + 0x88], 0xffffffff
mov ecx, 0xd
mov edx, eax
push 0x558128
call fcn.0053bab0
mov dword [esi + 0x88], 0xffffffff
mov ecx, 4
mov edx, eax
push 0x55803c
call fcn.0053bb70
nop dword [eax]
push ebp
sub esp, 0xc
lea esi, [ebp - 0x8c]
mov ebp, dword [esi + 0x78]
push dword [esi + 0x54]
push 0
push dword [0x5b93c8]
call dword [sym.imp.kernel32.dll_HeapFree]
add esp, 0xc
pop ebp
ret