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

Disassembly:
sub esp, 0x184
push ebx
push ebp
push esi
push edi
mov edi, 1
mov esi, ecx
mov ecx, dword [esp + 0x198]
push edi
push 0x68f5cc
mov dword [esp + 0x18], esi
call fcn.004a7290
mov ecx, dword [esp + 0x19c]
cmp ecx, 8
mov ebp, 3
ja case.default.0x48f72c
jmp dword [ecx*4 + 0x49016c]
mov cl, byte [esp + 0x1a0]
test cl, cl
je 0x48f74a
mov dword [esi + 0x158], 2
jmp case.default.0x48f72c
mov dword [esi + 0x144], 2
jmp case.default.0x48f72c
mov cl, byte [esp + 0x1a0]
test cl, cl
je 0x48f769
mov dword [esi + 0x158], edi
jmp case.default.0x48f72c
mov dword [esi + 0x144], edi
jmp case.default.0x48f72c
mov cl, byte [esp + 0x1a0]
test cl, cl
je 0x48f784
mov dword [esi + 0x158], ebp
jmp case.default.0x48f72c
mov dword [esi + 0x144], ebp
jmp case.default.0x48f72c
mov cl, byte [esp + 0x1a0]
test cl, cl
je 0x48f7a3
mov dword [esi + 0x158], 4
jmp case.default.0x48f72c
mov dword [esi + 0x144], 4
xor ebx, ebx
cmp eax, ebx
mov al, byte [esp + 0x1a0]
je 0x48fc81
test al, al
mov eax, dword [esp + 0x10]
je 0x48f7d8
mov esi, dword [eax + 0x140]
mov eax, dword [eax + 0x158]
mov dword [esp + 0x1c], eax
jmp 0x48f7e8
mov ecx, dword [eax + 0x144]
mov esi, dword [eax + 0x154]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x198]
call fcn.004a7580
cmp eax, 9
jl case.default.0x48f836
cmp dword [esp + 0x198], esi
jne case.default.0x48f836
mov al, byte [esp + 0x1a0]
test al, al
je 0x48f819
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x144]
jmp 0x48f823
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x158]
mov ecx, dword [esp + 0x19c]
cmp ecx, 8
ja case.default.0x48f836
movzx ecx, byte [ecx + 0x49019c]
jmp dword [ecx*4 + 0x490190]
cmp eax, ebp
jne case.default.0x48f836
jmp case.0x48f836.0
cmp eax, ebp
je case.0x48f836.0
mov dword [esp + 0x1c], 2
mov dword [esp + 0x19c], ebp
mov esi, dword [esp + 0x198]
mov ecx, esi
call fcn.004a7470
test eax, eax
jne 0x48fc6a
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x78], 2
mov dword [esp + 0x14], ecx
jne 0x48fc6a
mov eax, dword [esi + 0x54]
mov edx, dword [esp + 0x1c]
shr eax, 0xd
and eax, 7
cmp eax, edx
mov dword [esp + 0x48], eax
je 0x48fc6a
mov eax, dword [ecx + 0x68]
mov dl, byte [eax + 0x626]
test dl, dl
mov dword [esp + 0x4c], eax
je 0x48f960
mov ecx, esi
call fcn.004a60b0
mov esi, eax
cmp esi, ebx
je 0x48fc63
mov edi, dword [esi + 0x44]
mov eax, dword [edi + 0x54]
test ah, 0x10
je 0x48f8d5
mov ecx, edi
call fcn.004b3a20
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 0x18]
mov ebx, dword [eax + 0x10]
mov eax, dword [edi + 0x28]
test eax, eax
jle 0x48f8f5
mov edi, eax
push 1
push 0
mov ecx, esi
call fcn.00554650
dec edi
jne 0x48f8e7
mov eax, dword [esp + 0x1c]
dec eax
cmp eax, ebp
ja case.0x48f8fe.1
jmp dword [eax*4 + 0x4901a8]
mov edi, dword [esi + 0x6c]
jmp 0x48f912
mov edi, dword [esi + 0x70]
jmp 0x48f912
mov edi, dword [esi + 0x68]
test edi, edi
je 0x48fc3f
push edi
mov ecx, esi
call fcn.0058efd0
mov ecx, dword [ebx + 0x1b24]
mov eax, dword [ecx + 0x2c4]
test eax, eax
jne 0x48f93e
push 0xb1
mov ecx, ebx
call fcn.005778a0
mov edx, edi
push eax
or edx, 1
push edx
mov ecx, ebx
call fcn.005bf8c4
test al, al
je 0x48fc3f
mov ecx, edi
call fcn.00557f80
jmp 0x48fc3f
mov eax, dword [ecx + 8]
mov dword [esp + 0x44], eax
mov dword [esp + 0x18], ebx
jmp 0x48f970
xor ebx, ebx
nop
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0x74]
mov edx, dword [esi + 0x70]
push ecx
push ebx
mov edi, 0x7fffffff
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov byte [esp + 0x4c], 0
call fcn.004b5f20
cmp byte [esi + 0x7e], 0x22
jne 0x48f9bb
add dword [esp + 0x24], 2
mov eax, dword [esp + 0x44]
cmp eax, ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x70], 0
je 0x48f9f7
mov ecx, dword [esi + 0xc]
push ecx
push ebx
push eax
lea ecx, [esp + 0x5c]
call fcn.004b5f20
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov al, byte [ecx + edx]
inc ecx
mov bl, al
test bl, bl
mov dword [esp + 0x24], ecx
je 0x48fc2d
lea ecx, [esp + 0x74]
call fcn.00411180
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
lea ecx, [eax + esi]
add eax, 2
mov dword [esp + 0x24], eax
xor edx, edx
mov dword [esp + 0x150], 0xe
mov dh, byte [ecx + 1]
mov dl, byte [ecx]
lea ecx, [eax + esi]
add eax, 2
mov dword [esp + 0x24], eax
xor eax, eax
mov ah, byte [ecx + 1]
mov ebp, edx
lea edx, [esp + 0x74]
push edx
mov al, byte [ecx]
mov ecx, dword [esp + 0x19c]
mov edi, dword [ecx + 0x1c]
lea ecx, [esp + 0x24]
add eax, edi
mov dword [esp + 0x160], eax
call fcn.004b7bb0
mov eax, dword [esp + 0x14]
cmp byte [eax + 0x7e], 0x22
jne 0x48fa93
push 1
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x28]
call fcn.004b7d00
xor edi, edi
jmp 0x48fabd
mov eax, dword [esp + 0x44]
xor edi, edi
cmp eax, edi
je 0x48fab1
push edi
lea edx, [esp + 0x94]
push edx
lea ecx, [esp + 0x58]
call fcn.004b7d00
jmp 0x48fabd
lea ecx, [esp + 0x90]
call fcn.0047bca0
test bl, 0x10
je 0x48fb1d
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, edi
jne 0x48fad8
call fcn.004ba290
cmp eax, 8
jl 0x48fb1d
mov eax, dword [esp + 0x150]
or eax, 0x100
push 0xc
mov dword [esp + 0x154], eax
call fcn.00446b60
add esp, 4
cmp eax, edi
je 0x48fb08
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
jmp 0x48fb0a
xor eax, eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
mov dword [esp + 0x188], eax
call fcn.00450750
test bl, 0x20
je 0x48fb56
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, edi
jne 0x48fb38
call fcn.004ba290
cmp eax, 8
jl 0x48fb56
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dl, byte [eax + ecx]
inc eax
mov byte [esp + 0x181], dl
mov dword [esp + 0x24], eax
jmp 0x48fb5e
mov byte [esp + 0x181], 1
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
movzx eax, byte [eax + 0x68f580]
movzx ecx, byte [ecx + 0x68f580]
movzx edx, bl
and eax, edx
and ecx, edx
mov edx, dword [esp + 0x18]
cmp edx, edi
jne 0x48fba6
cmp eax, edi
jne 0x48fbde
cmp ecx, edi
je 0x48fbde
mov edx, dword [esp + 0x15c]
mov eax, dword [esp + 0x198]
mov ecx, dword [esp + 0x10]
push edx
push eax
call fcn.0048eaa0
jmp 0x48fbde
cmp edx, 1
jne 0x48fbde
cmp eax, edi
je 0x48fbde
cmp ecx, edi
jne 0x48fbde
mov ecx, dword [esp + 0x4c]
push ebp
call fcn.004b6f30
cmp eax, edi
mov dword [esp + 0x154], eax
je 0x48fbde
mov edx, dword [esp + 0x198]
lea ecx, [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x14]
push edx
call fcn.0048d0f0
mov eax, dword [esp + 0x150]
test ah, 1
je 0x48fc0c
mov ecx, dword [esp + 0x184]
cmp ecx, edi
mov esi, ecx
je 0x48fc05
call fcn.004506e0
push esi
call fcn.006058d0
add esp, 4
mov dword [esp + 0x184], edi
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x168], edi
mov al, byte [ecx + eax]
inc ecx
mov bl, al
test bl, bl
mov dword [esp + 0x24], ecx
jne 0x48fa11
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 2
mov dword [esp + 0x18], eax
jl 0x48f96d
mov eax, dword [esp + 0x198]
movzx ecx, byte [esp + 0x1c]
mov edx, dword [eax + 0x54]
shl ecx, 0xd
and edx, 0xffff1fff
or ecx, edx
mov dword [eax + 0x54], ecx
xor ebx, ebx
mov edi, 1
mov esi, dword [esp + 0x198]
mov eax, dword [esp + 0x19c]
mov ecx, dword [esp + 0x10]
push eax
push esi
call fcn.0048e150
jmp case.0x48f836.0
test al, al
je 0x48fc8d
mov dword [esi + 0x158], edi
jmp 0x48fc93
mov dword [esi + 0x144], edi
mov esi, dword [esp + 0x198]
mov ecx, esi
call fcn.004a7470
test eax, eax
jne case.0x48f836.0
mov ebp, dword [esi + 0x18]
cmp dword [ebp + 0x78], 2
mov dword [esp + 0x14], ebp
jne case.0x48f836.0
mov esi, dword [esi + 0x54]
shr esi, 0xd
and esi, 7
cmp esi, edi
mov dword [esp + 0x4c], esi
je case.0x48f836.0
mov eax, dword [ebp + 0x68]
mov cl, byte [eax + 0x626]
test cl, cl
mov dword [esp + 0x48], eax
je 0x48fd7e
mov ecx, dword [esp + 0x198]
call fcn.004a60b0
mov esi, eax
cmp esi, ebx
je case.0x48f836.0
mov edi, dword [esi + 0x44]
mov eax, dword [edi + 0x54]
test ah, 0x10
je 0x48fd0c
mov ecx, edi
call fcn.004b3a20
mov ecx, dword [esi + 0x10]
mov eax, dword [edi + 0x28]
cmp eax, ebx
mov edx, dword [ecx + 0x18]
mov ebp, dword [edx + 0x10]
jle 0x48fd2d
mov edi, eax
mov edi, edi
push 1
push ebx
mov ecx, esi
call fcn.00554650
dec edi
jne 0x48fd20
mov edi, dword [esi + 0x68]
cmp edi, ebx
je 0x490049
push edi
mov ecx, esi
call fcn.0058efd0
mov eax, dword [ebp + 0x1b24]
mov eax, dword [eax + 0x2c4]
test eax, eax
jne 0x48fd5c
push 0xb1
mov ecx, ebp
call fcn.005778a0
mov ecx, edi
or ecx, 1
push eax
push ecx
mov ecx, ebp
call fcn.005bf8c4
test al, al
je 0x490049
mov ecx, edi
call fcn.00557f80
jmp 0x490049
mov edi, dword [ebp + 8]
mov dword [esp + 0x44], edi
mov dword [esp + 0x18], ebx
jmp 0x48fd93
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x14]
mov edx, dword [ebp + 0x74]
mov eax, dword [ebp + 0x70]
xor esi, esi
push edx
push esi
mov ebx, 0x7fffffff
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov byte [esp + 0x4c], 0
call fcn.004b5f20
cmp byte [ebp + 0x7e], 0x22
jne 0x48fddc
add dword [esp + 0x24], 2
cmp edi, esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], esi
mov byte [esp + 0x70], 0
je 0x48fe14
mov ecx, dword [ebp + 0xc]
push ecx
push esi
push edi
lea ecx, [esp + 0x5c]
call fcn.004b5f20
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov al, byte [ecx + edx]
inc ecx
mov bl, al
test bl, bl
mov dword [esp + 0x24], ecx
je 0x490037
mov edi, edi
lea ecx, [esp + 0x74]
call fcn.00411180
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
lea ecx, [eax + esi]
add eax, 2
mov dword [esp + 0x24], eax
mov dword [esp + 0x150], 0xe
xor edx, edx
mov dh, byte [ecx + 1]
mov dl, byte [ecx]
lea ecx, [eax + esi]
mov esi, dword [esp + 0x198]
mov edi, dword [esi + 0x1c]
add eax, 2
mov dword [esp + 0x24], eax
xor eax, eax
mov ah, byte [ecx + 1]
mov ebp, edx
mov al, byte [ecx]
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x24]
add eax, edi
mov dword [esp + 0x160], eax
call fcn.004b7bb0
mov edx, dword [esp + 0x14]
cmp byte [edx + 0x7e], 0x22
jne 0x48feb2
push 1
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x28]
call fcn.004b7d00
xor edi, edi
jmp 0x48fedc
mov eax, dword [esp + 0x44]
xor edi, edi
cmp eax, edi
je 0x48fed0
push edi
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x58]
call fcn.004b7d00
jmp 0x48fedc
lea ecx, [esp + 0x90]
call fcn.0047bca0
test bl, 0x10
je 0x48ff3d
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, edi
jne 0x48fef7
call fcn.004ba290
cmp eax, 8
jl 0x48ff3d
mov ecx, dword [esp + 0x150]
or ecx, 0x100
push 0xc
mov dword [esp + 0x154], ecx
call fcn.00446b60
add esp, 4
cmp eax, edi
je 0x48ff28
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
jmp 0x48ff2a
xor eax, eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, eax
mov dword [esp + 0x188], eax
call fcn.00450750
test bl, 0x20
je 0x48ff76
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x68]
mov eax, dword [ecx + 0x210]
cmp eax, edi
jne 0x48ff58
call fcn.004ba290
cmp eax, 8
jl 0x48ff76
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov dl, byte [eax + ecx]
inc eax
mov byte [esp + 0x181], dl
mov dword [esp + 0x24], eax
jmp 0x48ff7e
mov byte [esp + 0x181], 1
mov ecx, dword [esp + 0x4c]
movzx ecx, byte [ecx + 0x68f580]
movzx edx, bl
mov eax, edx
and ecx, edx
mov edx, dword [esp + 0x18]
and eax, 1
cmp edx, edi
jne 0x48ffb7
cmp eax, edi
jne 0x48ffe8
cmp ecx, edi
je 0x48ffe8
mov edx, dword [esp + 0x15c]
mov ecx, dword [esp + 0x10]
push edx
push esi
call fcn.0048eaa0
jmp 0x48ffe8
cmp edx, 1
jne 0x48ffe8
cmp eax, edi
je 0x48ffe8
cmp ecx, edi
jne 0x48ffe8
mov ecx, dword [esp + 0x48]
push ebp
call fcn.004b6f30
cmp eax, edi
mov dword [esp + 0x154], eax
je 0x48ffe8
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x74]
push eax
push esi
call fcn.0048d0f0
mov eax, dword [esp + 0x150]
test ah, 1
je 0x490016
mov ecx, dword [esp + 0x184]
cmp ecx, edi
mov esi, ecx
je 0x49000f
call fcn.004506e0
push esi
call fcn.006058d0
add esp, 4
mov dword [esp + 0x184], edi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x168], edi
mov al, byte [ecx + edx]
inc ecx
mov bl, al
test bl, bl
mov dword [esp + 0x24], ecx
jne 0x48fe30
mov eax, dword [esp + 0x18]
inc eax
cmp eax, 2
mov dword [esp + 0x18], eax
jl 0x48fd8b
mov eax, dword [esp + 0x198]
mov ecx, dword [eax + 0x54]
and ecx, 0xffff3fff
or ecx, 0x2000
mov dword [eax + 0x54], ecx
xor ebx, ebx
mov edi, 1
mov al, byte [esp + 0x1a0]
test al, al
mov eax, dword [esp + 0x10]
je 0x4900f2
cmp dword [eax + 0x158], edi
jne 0x4900ad
pop edi
pop esi
pop ebp
mov dword [eax + 0x154], ebx
mov dword [eax + 0x15c], ebx
mov dword [eax + 0x160], ebx
mov word [eax + 0x164], bx
mov word [eax + 0x166], bx
pop ebx
add esp, 0x184
ret 0xc
mov ecx, dword [esp + 0x198]
mov dword [eax + 0x154], ecx
mov edx, dword [ecx + 8]
mov dword [eax + 0x15c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x160], edx
mov dx, word [ecx + 0x1c]
pop edi
mov word [eax + 0x164], dx
mov ecx, dword [ecx + 4]
mov dx, word [ecx + 0x5a]
pop esi
pop ebp
mov word [eax + 0x166], dx
pop ebx
add esp, 0x184
ret 0xc
cmp dword [eax + 0x144], edi
jne 0x490127
pop edi
pop esi
pop ebp
mov dword [eax + 0x140], ebx
mov dword [eax + 0x148], ebx
mov dword [eax + 0x14c], ebx
mov word [eax + 0x150], bx
mov word [eax + 0x152], bx
pop ebx
add esp, 0x184
ret 0xc
mov ecx, dword [esp + 0x198]
mov dword [eax + 0x140], ecx
mov edx, dword [ecx + 8]
mov dword [eax + 0x148], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0x14c], edx
mov dx, word [ecx + 0x1c]
pop edi
mov word [eax + 0x150], dx
mov ecx, dword [ecx + 4]
mov dx, word [ecx + 0x5a]
pop esi
pop ebp
mov word [eax + 0x152], dx
pop ebx
add esp, 0x184
ret 0xc