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

Disassembly:
sub esp, 0x30
push ebx
mov ebx, dword [esp + 0x38]
push esi
mov esi, dword [esp + 0x44]
mov dword [esp + 0x30], 0
mov eax, dword [ebx]
mov dword [esp + 0x10], eax
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], eax
test esi, esi
jne 0x4dfe31
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
cmp dword [ebx + 0x108], eax
jne 0x4dfe29
cmp dword [esi + 0x40], eax
jne 0x4dfe29
push ebp
mov ebp, dword [esp + 0x44]
push ebp
push ebx
call fcn.004b5050
add esp, 8
test eax, eax
jne 0x4dff36
cmp dword [ebp + 0x38], eax
jne 0x4dff36
cmp dword [esp + 0x4c], 0xb
jne 0x4dfe80
cmp word [ebp + 0x28], ax
jl 0x4dfe78
movzx eax, byte [ebp + 0x32]
mov dword [esp + 0x4c], eax
cmp eax, 0xb
jne 0x4dfe80
mov dword [esp + 0x4c], 2
mov ecx, dword [esi + 0x20]
cmp dword [ecx], 1
jne 0x4dff36
cmp dword [ecx + 0x1c], 0
jne 0x4dff36
cmp dword [esi + 0x24], 0
jne 0x4dff36
cmp dword [esi + 0x30], 0
jne 0x4dff36
cmp dword [esi + 0x28], 0
jne 0x4dff36
cmp dword [esi + 0x3c], 0
jne 0x4dff36
cmp dword [esi + 0x34], 0
jne 0x4dff36
test byte [esi + 4], 1
jne 0x4dff36
mov eax, dword [esi + 0x1c]
cmp dword [eax], 1
jne 0x4dff36
mov eax, dword [eax + 4]
cmp byte [eax], 0xb1
jne 0x4dff36
lea eax, [ecx + 8]
push eax
push 0
push ebx
call fcn.004a7060
mov edx, eax
add esp, 0xc
mov dword [esp + 0xc], edx
test edx, edx
je 0x4dff36
mov eax, dword [edx + 0x1c]
cmp eax, dword [ebp + 0x1c]
jne 0x4dfeff
mov eax, dword [edx + 0x48]
cmp eax, dword [ebp + 0x48]
je 0x4dff36
mov ecx, dword [ebp + 0x24]
mov eax, dword [edx + 0x24]
shr ecx, 7
shr eax, 7
not ecx
not eax
xor ecx, eax
test cl, 1
jne 0x4dff36
cmp dword [edx + 0x38], 0
jne 0x4dff36
cmp dword [edx + 0xc], 0
jne 0x4dff36
movzx ecx, word [ebp + 0x2a]
cmp cx, word [edx + 0x2a]
jne 0x4dff36
mov ax, word [ebp + 0x28]
cmp ax, word [edx + 0x28]
je 0x4dff3f
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
xor eax, eax
xor ebx, ebx
push edi
cmp ax, cx
jge 0x4e003e
xor ecx, ecx
mov dword [esp + 0x4c], ecx
mov esi, dword [ebp + 4]
mov edi, dword [edx + 4]
add esi, ecx
add edi, ecx
mov cx, word [esi + 0x10]
mov ax, word [edi + 0x10]
and cx, 0x60
and ax, 0x60
cmp cx, ax
jne 0x4e051b
test cx, cx
je 0x4dff95
push 0xffffffffffffffff
push dword [esi + 4]
push dword [edi + 4]
push 0
call fcn.00496f80
add esp, 0x10
test eax, eax
jne 0x4e051b
mov al, byte [esi + 0xd]
cmp al, byte [edi + 0xd]
jne 0x4e051b
push dword [edi + 8]
push dword [esi + 8]
call fcn.0044beb0
add esp, 8
test eax, eax
jne 0x4e051b
cmp byte [esi + 0xc], al
je 0x4dffc5
cmp byte [edi + 0xc], al
je 0x4e051b
test byte [esi + 0x10], 0x60
jne 0x4e0022
test ebx, ebx
jle 0x4e0022
mov edi, dword [edi + 4]
xor ecx, ecx
mov edx, dword [esi + 4]
test edi, edi
sete cl
xor eax, eax
test edx, edx
sete al
cmp eax, ecx
jne 0x4e051b
test edx, edx
je 0x4e0022
mov ecx, dword [edi + 8]
mov eax, dword [edx + 8]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e0015
test dl, dl
je 0x4e0011
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e0015
add eax, 2
add ecx, 2
test dl, dl
jne 0x4dfff5
xor eax, eax
jmp 0x4e001a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4e051b
mov ecx, dword [esp + 0x4c]
inc ebx
movsx eax, word [ebp + 0x2a]
add ecx, 0x14
mov edx, dword [esp + 0x10]
mov dword [esp + 0x4c], ecx
cmp ebx, eax
jl 0x4dff53
mov edi, dword [ebp + 8]
test edi, edi
je 0x4e00bb
cmp byte [edi + 0x36], 0
je 0x4e0053
mov dword [esp + 0x28], 1
mov esi, dword [edx + 8]
test esi, esi
je 0x4e051b
mov edi, edi
push esi
push edi
call fcn.004dfd20
add esp, 8
test eax, eax
jne 0x4e007d
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x4e0060
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x30
ret
mov eax, dword [esi + 0x2c]
mov edx, dword [esp + 0x10]
cmp eax, dword [edi + 0x2c]
jne 0x4e00b4
mov eax, dword [edx + 0x48]
cmp eax, dword [ebp + 0x48]
jne 0x4e00b4
mov eax, dword [0x5062cc]
test eax, eax
je 0x4e051b
push 0x19b
call eax
add esp, 4
test eax, eax
je 0x4e051b
mov edx, dword [esp + 0x10]
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x4e0045
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x4e00d8
push 0xffffffffffffffff
push eax
push dword [edx + 0x18]
call fcn.004983f0
add esp, 0xc
test eax, eax
jne 0x4e051b
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x20]
mov ecx, dword [edx + 0x24]
and eax, 0x4000
or eax, 0
je 0x4e00f6
cmp dword [ebp + 0x10], 0
jne 0x4e051b
and ecx, 1
xor eax, eax
or eax, ecx
jne 0x4e051b
mov esi, dword [esp + 0x10]
push dword [esi + 0x48]
push edx
call fcn.004b0720
mov esi, dword [esp + 0x4c]
mov ebx, eax
push esi
mov dword [esp + 0x38], ebx
call fcn.004a3670
mov edi, eax
push ebx
push esi
mov dword [esp + 0x50], edi
call fcn.0048fae0
mov ecx, esi
push ebp
push dword [esp + 0x6c]
mov ebx, dword [ecx + 0x28]
push ecx
mov dword [esp + 0x44], ebx
lea esi, [ebx + 1]
lea eax, [esi + 1]
mov dword [esp + 0x40], esi
mov dword [ecx + 0x28], eax
call fcn.004517f0
mov edx, dword [esp + 0x64]
push edx
mov dword [esp + 0x70], eax
call fcn.004a2d30
push edx
mov dword [esp + 0x44], eax
call fcn.004a2d30
push 0x61
push ebp
push dword [esp + 0x84]
mov dword [esp + 0x48], eax
push esi
push edx
call fcn.004a7ef0
mov eax, dword [esp + 0x54]
add esp, 0x3c
test byte [eax + 0x18], 4
jne 0x4e01d0
cmp word [ebp + 0x28], 0
jge 0x4e0195
cmp dword [ebp + 8], 0
jne 0x4e01aa
cmp dword [esp + 0x28], 0
jne 0x4e01aa
mov eax, dword [esp + 0x50]
cmp eax, 2
je 0x4e01d0
cmp eax, 1
je 0x4e01d0
push 0
push esi
push 0x25
push edi
call fcn.004b89e0
push 0xb
push edi
mov esi, eax
call fcn.004b8930
push esi
push edi
mov dword [esp + 0x58], eax
call fcn.004c0950
add esp, 0x20
lea esi, [ebx + 1]
mov eax, dword [esp + 0x10]
test byte [eax + 0x24], 0x80
jne 0x4e030f
push 0x60
push eax
push dword [esp + 0x34]
push ebx
push dword [esp + 0x54]
call fcn.004a7ef0
push 0
push ebx
push 0x25
push edi
call fcn.004b89e0
add esp, 0x24
mov dword [esp + 0x34], eax
cmp word [ebp + 0x28], 0
jl 0x4e025b
push dword [esp + 0x14]
push ebx
push 0x7f
push edi
call fcn.004b89e0
push dword [esp + 0x24]
mov dword [esp + 0x3c], eax
push 0
push esi
push 0x20
push edi
call fcn.004b8a40
push ebp
push dword [esp + 0x78]
mov esi, eax
push dword [esp + 0x70]
call fcn.004af940
push esi
push edi
call fcn.004c0950
push dword [esp + 0x4c]
push dword [esp + 0x88]
push dword [esp + 0x84]
call fcn.004518b0
add esp, 0x44
jmp 0x4e0288
cmp dword [ebp + 8], 0
jne 0x4e0274
mov eax, dword [esp + 0x18]
test byte [eax + 0x18], 8
jne 0x4e0274
push dword [esp + 0x14]
push esi
push 0x78
jmp 0x4e027b
push dword [esp + 0x14]
push ebx
push 0x7f
push edi
call fcn.004b89e0
mov dword [esp + 0x38], eax
add esp, 0x10
push 1
push dword [esp + 0x20]
push ebx
push 0x7e
push edi
call fcn.004b8a40
mov eax, dword [esp + 0x2c]
lea esi, [ebx + 1]
add esp, 0x14
test byte [eax + 0x18], 4
je 0x4e02bd
push esi
push 0x81
push edi
call fcn.004b8980
add esp, 0xc
mov byte [esp + 0x4c], 0x39
jmp 0x4e02c2
mov byte [esp + 0x4c], 0x29
push 0xfffffffffffffffa
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x28]
push esi
push 0x79
push edi
call fcn.004b8aa0
mov al, byte [esp + 0x68]
movzx eax, al
push eax
push edi
call fcn.004b8fb0
push dword [esp + 0x4c]
push ebx
push 5
push edi
call fcn.004b89e0
push 0
push ebx
push 0x74
push edi
call fcn.004b89e0
add esp, 0x44
push 0
push esi
push 0x74
push edi
call fcn.004b89e0
add esp, 0x10
jmp 0x4e033d
push dword [ebp]
mov ebx, dword [esp + 0x48]
push 1
push dword [ebp + 0x1c]
push dword [esp + 0x60]
push ebx
call fcn.004b4a90
mov eax, dword [esp + 0x24]
push dword [eax]
push 0
push dword [eax + 0x1c]
push dword [esp + 0x4c]
push ebx
call fcn.004b4a90
add esp, 0x28
mov ebp, dword [ebp + 8]
test ebp, ebp
je 0x4e04bf
jmp 0x4e0350
mov esi, dword [esp + 0x10]
xor bl, bl
mov byte [esp + 0x4c], bl
mov esi, dword [esi + 8]
test esi, esi
je 0x4e0376
push esi
push ebp
call fcn.004dfd20
add esp, 8
test eax, eax
jne 0x4e0376
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x4e0361
push dword [esp + 0x2c]
push dword [esi + 0x2c]
push dword [esp + 0x2c]
push 0x60
push edi
call fcn.004b8a40
push esi
push dword [esp + 0x5c]
call fcn.004c3470
push dword [esp + 0x70]
push dword [ebp + 0x2c]
push dword [esp + 0x44]
push 0x61
push edi
call fcn.004b8a40
push ebp
push dword [esp + 0x78]
call fcn.004c3470
push 1
push edi
call fcn.004b8fb0
add esp, 0x40
push 0
push dword [esp + 0x28]
push 0x25
push edi
call fcn.004b89e0
push 1
push dword [esp + 0x30]
mov dword [esp + 0x48], eax
push dword [esp + 0x3c]
push 0x7e
push edi
call fcn.004b8a40
mov eax, dword [esp + 0x3c]
add esp, 0x24
test byte [eax + 0x18], 4
je 0x4e0444
movzx eax, word [esi + 0x34]
xor ebx, ebx
mov dword [esp + 0x28], eax
test eax, eax
jle 0x4e0423
mov esi, dword [esi + 0x20]
mov edi, eax
nop
push dword [esi]
push 0x4e9d50
call fcn.0044beb0
add esp, 8
test eax, eax
jne 0x4e041b
inc ebx
add esi, 4
cmp ebx, edi
jl 0x4e0400
mov edi, dword [esp + 0x3c]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
cmp ebx, eax
jne 0x4e043e
push esi
push 0x81
push edi
mov bl, 0x10
call fcn.004b8980
add esp, 0xc
jmp 0x4e0448
mov bl, byte [esp + 0x4c]
jmp 0x4e0448
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
test byte [eax + 0x24], 0x80
je 0x4e045e
mov eax, dword [ebp + 0x38]
and al, 3
cmp al, 2
jne 0x4e045e
or bl, 1
push dword [esp + 0x1c]
push esi
push 0x83
push edi
call fcn.004b89e0
or bl, 8
movzx eax, bl
push eax
push edi
call fcn.004b8fb0
mov eax, dword [esp + 0x48]
mov ebx, dword [esp + 0x3c]
inc eax
push eax
push ebx
push 5
push edi
call fcn.004b89e0
push dword [esp + 0x58]
push edi
call fcn.004c0950
push 0
push ebx
push 0x74
push edi
call fcn.004b89e0
add esp, 0x40
push 0
push esi
push 0x74
push edi
call fcn.004b89e0
mov ebp, dword [ebp + 0x14]
add esp, 0x10
test ebp, ebp
jne 0x4e0350
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4e04d1
push eax
push edi
call fcn.004c0950
add esp, 8
push dword [esp + 0x14]
mov ebx, dword [esp + 0x48]
push ebx
call fcn.004ae9a0
push dword [esp + 0x24]
push ebx
call fcn.004ae9a0
mov ebp, dword [esp + 0x48]
add esp, 0x10
test ebp, ebp
je 0x4e0525
push ebx
call fcn.0048a250
push 0
push 0
push 0x44
push edi
call fcn.004b89e0
push ebp
push edi
call fcn.004c0950
push 0
push esi
push 0x74
push edi
call fcn.004b89e0
add esp, 0x2c
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
pop edi
pop ebp
pop esi
mov eax, 1
pop ebx
add esp, 0x30
ret