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

Disassembly:
push 0xffffffffffffffff
push 0x463726
mov eax, dword fs:[0]
push eax
sub esp, 0x4f0
mov eax, dword [0x47f344]
xor eax, esp
mov dword [esp + 0x4e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47f344]
xor eax, esp
push eax
lea eax, [esp + 0x504]
mov dword fs:[0], eax
mov eax, dword [esp + 0x514]
push edx
xor ebx, ebx
push eax
mov dword [esp + 0x24], ecx
mov byte [esp + 0x1f], bl
call 0x4f2590
mov ebp, eax
add esp, 8
cmp ebp, ebx
je 0x4d3689
push 0x22c
lea eax, [esp + 0xa4]
push ebx
push eax
call 0x503cb0
xor eax, eax
add esp, 0xc
cmp dword [ebp], 1
mov dword [esp + 0x9c], eax
mov word [esp + 0xa0], bx
mov dword [esp + 0x2c8], ebx
je 0x4d33ae
push ebp
mov dword [0x48515c], 0x80000
call 0x4f26e0
add esp, 4
mov al, bl
jmp 0x4d368b
mov esi, dword [ebp + 4]
mov edi, dword [esi]
or ecx, 0xffffffff
cmp dword [edi + 4], ecx
jg 0x4d33c2
mov ecx, 0x10000
jmp 0x4d3427
cmp dword [esi + 4], ecx
je 0x4d33cf
call 0x4f1dd0
or ecx, 0xffffffff
mov dword [esi + 4], ecx
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
mov dword [esp + 0x9c], eax
mov word [esp + 0xa0], bx
mov dword [esp + 0x2a8], ebx
mov dword [esp + 0x2ac], ebx
mov dword [esp + 0x2b0], ebx
mov dword [esp + 0x2b4], ebx
mov dword [esp + 0x2b8], ebx
mov dword [esp + 0x2bc], ebx
mov dword [esp + 0x2c0], ebx
mov dword [esp + 0x2c4], ebx
mov dword [esp + 0x2c8], ebx
xor ecx, ecx
cmp ecx, ebx
mov dword [0x48515c], ecx
jne 0x4d3655
cmp eax, ebx
mov byte [esp + 0x17], 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ebx
jle 0x4d3655
lea ebx, [ebx]
push 0x22c
lea edx, [esp + 0x2d4]
push ebx
push edx
call 0x503cb0
add esp, 0xc
cmp dword [ebp], 1
mov dword [esp + 0x2cc], ebx
mov word [esp + 0x2d0], bx
mov dword [esp + 0x4f8], ebx
jne 0x4d3647
mov edx, dword [esp + 0x18]
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x2cc]
push ecx
push edx
push eax
call 0x4f1f00
cmp eax, ebx
mov dword [0x48515c], eax
jne 0x4d3651
mov al, byte [esp + 0x4d8]
test al, 0x10
je 0x4d353b
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
mov dword [esp + 0x98], 0xf
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
mov dword [esp + 0x50c], ebx
mov eax, dword [esp + 0x4d8]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x2d0]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4d3500
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x2d4]
push ecx
lea esi, [esp + 0x68]
call fcn.004d0fe0
mov edi, esi
call fcn.004d3290
mov edx, esi
mov esi, dword [esp + 0x1c]
push edx
call fcn.004d4870
mov esi, edi
jmp 0x4d3613
test al, 0x20
je 0x4d3651
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], ebx
mov byte [esp + 0x48], bl
mov dword [esp + 0x50c], 1
mov eax, dword [esp + 0x4d8]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x2d0]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4d3584
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x2d4]
push ecx
lea esi, [esp + 0x2c]
call fcn.004d0fe0
mov edi, esi
call fcn.004d3290
mov eax, dword [esp + 0x4f8]
cmp eax, ebx
jle 0x4d3601
mov ecx, dword [esp + 0x58]
cmp eax, ecx
ja 0x4d35cd
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0x4c]
call fcn.004c9c10
jmp 0x4d35da
sub eax, ecx
push ebx
push eax
lea ecx, [esp + 0x4c]
call fcn.004c8950
cmp dword [esp + 0x5c], 0x10
mov eax, dword [esp + 0x48]
jae 0x4d35e9
lea eax, [esp + 0x48]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x58]
push eax
push edx
mov eax, ebp
call 0x4f26a0
add esp, 8
cmp eax, ebx
jne 0x4d3664
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
call fcn.004d4870
lea esi, [esp + 0x24]
mov dword [esp + 0x50c], 0xffffffff
call fcn.004cd0e0
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
jl 0x4d3450
push ebp
call 0x4f26e0
mov al, byte [esp + 0x1b]
add esp, 4
jmp 0x4d368b
mov dword [0x48515c], 0x80000
mov byte [esp + 0x17], bl
push ebp
call 0x4f26e0
mov al, byte [esp + 0x1b]
add esp, 4
jmp 0x4d368b
lea esi, [esp + 0x24]
mov byte [esp + 0x17], bl
mov dword [esp + 0x50c], 0xffffffff
call fcn.004cd0e0
push ebp
call 0x4f26e0
add esp, 4
mov al, bl
jmp 0x4d368b
mov al, bl
mov ecx, dword [esp + 0x504]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4e8]
xor ecx, esp
call 0x4ff236
add esp, 0x4fc
ret