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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fc5f8
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x649c
call fcn.004e3510
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0x6498], eax
push ebx
push esi
push edi
mov eax, dword [0x514bc0]
xor eax, esp
push eax
lea eax, [esp + 0x64b0]
mov dword fs:[0], eax
xor edi, edi
push 0x40
lea ecx, [esp + 0x68]
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x44], edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
call fcn.004d9ec0
mov dword [esp + 0x64b8], edi
lea ecx, [esp + 0x144]
call fcn.00467ad0
mov byte [esp + 0x64b8], 1
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x90], edi
mov byte [esp + 0x64b8], 2
lea ecx, [esp + 0xe4]
call fcn.00467ad0
mov byte [esp + 0x64b8], 3
mov dword [0x5a65d4], 1
lea esi, [edi + 1]
call fcn.00469180
test al, al
jne 0x4dbb4b
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], esi
jmp 0x4dacf0
mov eax, dword [esp + 0x24]
cmp eax, 0x40
jl 0x4dad06
cmp byte [0x5b77ac], 0
je 0x4db180
mov ecx, dword [esp + 0x68]
cmp eax, ecx
jl 0x4dad2a
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0x6c]
jbe 0x4dad26
sub eax, ecx
push eax
lea ecx, [esp + 0x68]
call fcn.004d9ec0
jmp 0x4dad2a
mov dword [esp + 0x68], eax
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x1c]
push 4
add eax, ecx
push 0x5a6604
mov dword [0x5a660c], eax
call fcn.004dc590
test eax, eax
je 0x4db0a1
mov bl, byte [0x5a6604]
cmp bl, 0x50
jne 0x4db0ae
cmp byte [0x5a6605], 0x4b
jne 0x4db0ae
cmp byte [0x5a6606], 1
jne 0x4db0ae
cmp byte [0x5a6607], 2
jne 0x4db0ae
call fcn.004dee50
cmp eax, edi
jne 0x4db137
movzx eax, byte [0x5b6699]
movzx ecx, word [0x5b66b8]
push eax
push 0x5b669c
mov esi, 2
push esi
xor edx, edx
push ecx
mov word [0x5b6724], dx
call fcn.004dc8c0
mov ebx, dword [esp + 0x14]
cmp eax, edi
je 0x4dadd4
cmp eax, ebx
jle 0x4dadcb
mov ebx, eax
mov dword [esp + 0x14], ebx
cmp eax, 1
jg 0x4db13d
movzx edx, word [0x5b66ba]
push edi
push edi
push 3
push edx
call fcn.004dc8c0
cmp eax, edi
je 0x4dadfc
cmp eax, ebx
jle 0x4dadf3
mov ebx, eax
mov dword [esp + 0x14], ebx
cmp eax, 1
jg 0x4db13d
movzx eax, word [0x5b66ba]
mov ecx, dword [0x5b6668]
push edi
push eax
push ecx
call fcn.004df010
movzx eax, word [0x5b66ba]
mov ecx, dword [0x5b6668]
push 0x5b669e
call fcn.004d94a0
movzx edx, word [0x5b66bc]
push edi
push edi
push edi
push edx
call fcn.004dc8c0
cmp eax, edi
je 0x4dae4d
cmp eax, ebx
jle 0x4dae44
mov dword [esp + 0x14], eax
cmp eax, 1
jg 0x4db13d
mov ecx, dword [0x5b7724]
movzx edx, word [0x5b66ba]
push 0x3000
lea eax, [esp + 0x34a8]
push eax
mov eax, dword [0x5b6668]
push ecx
push edx
call fcn.004d93f0
test al, al
je 0x4daea2
push 0x800
push 0x5b6724
lea eax, [esp + 0x34ac]
push eax
call fcn.0046a7a0
push 0x800
push 0x5b6724
push 0x5b6724
call fcn.00451860
movzx eax, word [0x5b66a2]
movzx ecx, word [0x5b66a0]
shl eax, 0x10
or eax, ecx
mov ecx, dword [0x5a660c]
push eax
add ecx, 0x28
call fcn.00468d80
mov eax, dword [0x5a660c]
add eax, 0x30
mov dword [eax], edi
mov dword [eax + 4], edi
mov eax, dword [0x5a660c]
add eax, 0x38
mov dword [eax], edi
mov dword [eax + 4], edi
mov eax, dword [0x5a660c]
lea edx, [eax + 0x38]
lea ecx, [eax + 0x30]
push edx
push ecx
mov ecx, dword [0x5b6668]
add eax, 0x28
push eax
movzx eax, word [0x5b66ba]
call fcn.004d92c0
movzx eax, word [0x5b66ba]
mov ecx, dword [0x5b6668]
call fcn.004d9e60
mov bl, al
test bl, bl
je 0x4daf54
lea ecx, [esp + 0x94]
mov dword [esp + 0xd8], edi
mov dword [esp + 0xdc], 0x20
mov dword [esp + 0x94], 0x555ba2
mov dword [esp + 0x98], 0x5b6724
mov dword [esp + 0xd4], esi
call fcn.004693c0
lea ecx, [esp + 0x1a4]
call fcn.0040d990
mov byte [esp + 0x64b8], 4
push 0x2300
lea edx, [esp + 0x1a8]
push edi
push edx
call fcn.004e4400
add esp, 0xc
push 0x800
push 0x5b6724
lea eax, [esp + 0x1cc]
push eax
call fcn.00467570
lea ecx, [esp + 0x1c4]
push ecx
call fcn.00451470
mov esi, eax
lea edx, [esp + 0x1c4]
cmp esi, edx
jbe 0x4dafc1
movzx eax, word [esi]
push eax
call fcn.004514d0
test al, al
je 0x4dafc1
xor ecx, ecx
mov word [esi], cx
cmp dword [0x539324], 1
mov eax, dword [0x5a660c]
mov edx, dword [eax + 0x28]
mov ecx, dword [0x5b66b0]
mov dword [esp + 0x11d4], edx
mov eax, dword [eax + 0x2c]
mov edx, dword [0x5b66b4]
mov dword [esp + 0x11d8], eax
mov dword [esp + 0x11f4], ecx
mov dword [esp + 0x11f8], edx
mov eax, 5
je 0x4db018
cmp dword [0x55091c], edi
jne 0x4db018
cmp byte [0x554b6c], 0
jne 0x4db018
mov eax, CreateMappedBitmap
test bl, bl
jne 0x4db06f
push edi
push edi
push eax
push edi
lea eax, [esp + 0x1b4]
push eax
mov ecx, 0x54a798
call fcn.00437390
test eax, eax
je 0x4db06f
call fcn.004d9be0
test eax, eax
je 0x4db064
push 0x5b6724
lea ecx, [esp + 0x148]
call fcn.00467940
mov eax, 1
add dword [esp + 0x24], eax
add dword [esp + 0x28], eax
add dword [esp + 0x1c], 0x48
jmp 0x4db074
mov eax, 1
add dword [esp + 0x30], eax
jmp 0x4db074
mov eax, 1
add dword [esp + 0x4c], eax
adc dword [esp + 0x50], edi
mov byte [esp + 0x64b8], 3
mov eax, dword [esp + 0x11c4]
cmp eax, edi
je 0x4dacf0
push eax
call fcn.004e3342
add esp, 4
jmp 0x4dacf0
mov dword [esp + 0x14], 0x33
jmp 0x4db178
mov edx, dword [0x5b66e0]
mov eax, edx
xor eax, dword [esp + 0x4c]
xor ecx, ecx
and eax, 0xffff
or eax, ecx
je 0x4db0f1
cmp edx, 0xffff
jne 0x4db0d5
cmp dword [0x5b66e4], edi
je 0x4db0f1
push 0x555ba2
mov ecx, 0x52c138
call fcn.0043dc80
mov dword [esp + 0x14], 3
jmp 0x4db178
cmp bl, 0x50
jne 0x4db111
cmp byte [0x5a6605], 0x4b
jne 0x4db111
cmp byte [0x5a6606], 5
jne 0x4db111
cmp byte [0x5a6607], 6
je 0x4db131
cmp byte [0x5b77b4], cl
je 0x4db127
push 0x5a6604
call fcn.004d9290
test al, al
jne 0x4db131
mov dword [esp + 0x3c], 1
jmp 0x4db178
mov dword [esp + 0x3c], edi
jmp 0x4db178
mov dword [esp + 0x14], eax
jmp 0x4db178
lea ecx, [esp + 0x94]
mov dword [esp + 0xd8], edi
mov dword [esp + 0xdc], 0x1a
mov dword [esp + 0x94], 0x555ba2
mov dword [esp + 0x98], 0x5b6724
mov dword [esp + 0xd4], esi
call fcn.004693c0
mov dword [esp + 0x18], 1
cmp byte [0x5b77ac], 0
mov ecx, dword [0x5b6658]
mov edx, dword [0x5b665c]
mov eax, dword [0x5b661c]
mov dword [esp + 0x54], ecx
mov ecx, dword [0x5b6620]
mov dword [esp + 0x58], edx
mov edx, dword [0x5b6624]
mov dword [esp + 0x74], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
je 0x4db245
push 0x555ba2
mov dword [0x5b77b0], edi
call fcn.00451c10
mov esi, eax
cmp esi, edi
je 0x4db1fb
push str..zipx
push esi
call fcn.0046a940
test eax, eax
je 0x4db1f4
push 3
push 0x506ab8
push esi
call fcn.0046a970
test eax, eax
jne 0x4db1fb
mov eax, str.zx01
jmp 0x4db200
mov eax, 0x4fe864
push 0x800
push eax
push 0x555ba2
call fcn.00452660
mov ecx, dword [0x5b6638]
cmp ecx, edi
je 0x4db222
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
mov dword [0x5b6638], edi
call fcn.004dbd60
cmp byte [0x550a71], 0
push 0x555ba2
sete al
movzx ecx, al
push ecx
call fcn.004690c0
cmp dword [esp + 0x24], edi
mov dword [esp + 0x1c], edi
jle 0x4dbacd
mov eax, dword [esp + 0x40]
shl eax, 6
mov dword [esp + 0x28], eax
mov edi, edi
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x64]
add edx, eax
lea eax, [eax + eax*8]
mov dword [esp + 0x20], edx
lea edx, [ecx + eax*8]
lea ecx, [esp + 0x144]
mov dword [0x5a660c], edx
call fcn.00467c20
cmp byte [0x5b77ac], 0
mov dword [esp + 0x78], eax
je 0x4db347
mov eax, dword [0x5a660c]
mov eax, dword [eax + 0x20]
cmp eax, dword [0x5b77b0]
je 0x4db347
movzx ecx, word [0x5b66d0]
cmp eax, ecx
jne 0x4db308
push 0x555ba2
call fcn.00451c10
mov esi, eax
test esi, esi
je 0x4db2f1
push str..zipx
push esi
call fcn.0046a940
test eax, eax
je 0x4db2ea
push 3
push 0x506ab8
push esi
call fcn.0046a970
test eax, eax
jne 0x4db2f1
mov eax, 0x506aec
jmp 0x4db2f6
mov eax, 0x4fe710
push 0x800
push eax
push 0x555ba2
call fcn.00452660
jmp 0x4db318
push eax
push 0x800
push 0x555ba2
call fcn.004d9da0
mov edx, dword [0x5a660c]
mov ecx, dword [0x5b6638]
mov eax, dword [edx + 0x20]
mov dword [0x5b77b0], eax
test ecx, ecx
je 0x4db338
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [0x5b6638], 0
call fcn.004dbd60
mov eax, dword [0x5a660c]
mov esi, dword [eax]
add esi, dword [0x5b6660]
mov edi, dword [eax + 4]
adc edi, dword [0x5b6664]
push 0
push 0x2000
push edi
push esi
mov dword [esp + 0x8c], esi
call fcn.004e3fd0
mov ebx, eax
mov eax, esi
sub eax, ebx
mov esi, edi
sbb esi, edx
test edi, edi
jg 0x4db427
jl 0x4db391
cmp dword [esp + 0x7c], 0
jae 0x4db427
push 0x555ba2
mov ecx, 0x52c138
call fcn.0043dc80
cmp dword [esp + 0x20], 0
mov dword [esp + 0x14], 2
jne 0x4db41a
mov eax, dword [0x5b6660]
mov ecx, dword [0x5b6664]
mov edx, eax
or edx, ecx
je 0x4db41a
mov dword [esp + 0x38], ecx
xor ecx, ecx
push ecx
mov dword [esp + 0x38], eax
mov eax, dword [0x5a660c]
mov dword [0x5b6660], ecx
mov dword [0x5b6664], ecx
mov edi, dword [eax + 4]
mov esi, dword [eax]
push 0x2000
push edi
push esi
mov dword [esp + 0x8c], esi
call fcn.004e3fd0
mov ebx, eax
mov eax, esi
sub eax, ebx
mov esi, edi
sbb esi, edx
test edi, edi
jg 0x4db427
jl 0x4db40b
cmp dword [esp + 0x7c], 0
jae 0x4db427
push 0x555ba2
mov ecx, 0x52c138
call fcn.0043dc80
mov dword [esp + 0x14], 3
jmp 0x4dbab0
cmp eax, dword [0x5b6658]
jne 0x4db466
cmp esi, dword [0x5b665c]
jne 0x4db466
cmp byte [0x5b77ac], 0
jne 0x4db466
mov eax, dword [0x5b661c]
mov ecx, dword [0x5b6618]
sub eax, ebx
sub eax, ecx
cdq
add dword [0x5b6620], eax
adc dword [0x5b6624], edx
add ebx, ecx
mov dword [0x5b661c], ebx
jmp 0x4db4e4
mov ecx, dword [0x5b6638]
mov edx, dword [ecx]
push 0
push esi
push eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [0x5b6638]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [0x5b6618]
push 0x2000
push ecx
mov dword [0x5b6658], eax
mov dword [0x5b665c], edx
call fcn.004dc400
cdq
mov ecx, edx
mov esi, eax
mov dword [0x5b6620], esi
mov dword [0x5b6624], ecx
test ecx, ecx
jg 0x4db4c3
jl 0x4db40b
test esi, esi
jbe 0x4db40b
mov edx, dword [0x5b6618]
lea eax, [ebx + edx]
mov dword [0x5b661c], eax
mov eax, ebx
cdq
sub esi, eax
sbb ecx, edx
mov dword [0x5b6620], esi
mov dword [0x5b6624], ecx
push 4
push 0x5a6604
call fcn.004dc590
test eax, eax
je 0x4db40b
cmp byte [0x5a6604], 0x50
jne 0x4db520
cmp byte [0x5a6605], 0x4b
jne 0x4db520
cmp byte [0x5a6606], 3
jne 0x4db520
cmp byte [0x5a6607], 4
je 0x4db5d4
push 0x555ba2
mov ecx, 0x52c138
call fcn.0043dc80
cmp dword [esp + 0x20], 0
mov eax, dword [0x5b6660]
mov ecx, dword [0x5b6664]
mov edi, 2
mov dword [esp + 0x14], edi
mov edx, eax
jne 0x4db552
or edx, ecx
jne 0x4db572
jmp 0x4db55a
or edx, ecx
jne 0x4dbab0
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
mov ebx, edx
or ebx, esi
je 0x4dbab0
mov ebx, eax
or ebx, ecx
je 0x4db588
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x38], ecx
mov dword [0x5b6660], eax
mov dword [0x5b6664], eax
jmp 0x4db594
mov dword [0x5b6660], edx
mov dword [0x5b6664], esi
mov eax, dword [0x5a660c]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
push ecx
push edx
call fcn.004dc040
test eax, eax
jne 0x4db40b
push 4
push 0x5a6604
call fcn.004dc590
test eax, eax
je 0x4db40b
push 0x5a6604
call fcn.004d9230
test al, al
jne 0x4db5d8
jmp 0x4db40b
mov edi, dword [esp + 0x14]
call fcn.004df1a0
mov esi, eax
test esi, esi
je 0x4db5fb
push 0x555ba2
mov ecx, 0x52c138
call fcn.0043dc80
mov dword [esp + 0x14], esi
jmp 0x4dbab0
movzx ecx, word [0x5b6690]
xor eax, eax
push eax
push 0x5b6672
push 2
push ecx
mov word [0x5b6724], ax
call fcn.004dc8c0
test eax, eax
je 0x4db641
cmp eax, edi
jle 0x4db626
mov edi, eax
mov dword [esp + 0x14], edi
cmp eax, 1
jle 0x4db641
push 0x5b6724
push 0x555ba2
push 0x1a
call fcn.00403620
jmp 0x4dbab0
mov eax, dword [0x5b6668]
test eax, eax
je 0x4db65d
push eax
call fcn.004e3342
add esp, 4
mov dword [0x5b6668], 0
movzx edx, word [0x5b6692]
push 0
push 0
push 3
push edx
call fcn.004dc8c0
test eax, eax
je 0x4db681
cmp eax, edi
jle 0x4db67c
mov dword [esp + 0x14], eax
cmp eax, 1
jg 0x4db62b
movzx eax, word [0x5b6692]
mov ecx, dword [0x5b6668]
push 1
push eax
push ecx
call fcn.004df010
mov eax, dword [0x5b7724]
movzx ecx, word [0x5b6692]
push 0x3000
lea edx, [esp + 0x34a8]
push edx
push eax
mov eax, dword [0x5b6668]
push ecx
call fcn.004d93f0
test al, al
je 0x4db6eb
push 0x800
push 0x5b6724
lea edx, [esp + 0x34ac]
push edx
call fcn.0046a7a0
push 0x800
push 0x5b6724
push 0x5b6724
call fcn.00451860
mov eax, dword [0x5a660c]
mov ecx, dword [eax + 0x28]
mov dword [0x5b7728], ecx
mov edx, dword [eax + 0x2c]
mov dword [0x5b772c], edx
mov ecx, dword [eax + 0x30]
mov dword [0x5b7730], ecx
mov edx, dword [eax + 0x34]
mov dword [0x5b7734], edx
mov ecx, dword [eax + 0x38]
mov dword [0x5b7738], ecx
mov edx, dword [eax + 0x3c]
movzx eax, word [0x5b6692]
mov ecx, dword [0x5b6668]
push 0x5b7738
push 0x5b7730
push 0x5b7728
mov dword [0x5b773c], edx
call fcn.004d92c0
movzx eax, word [0x5b6692]
mov ecx, dword [0x5b6668]
push 0x5b6674
call fcn.004d94a0
mov eax, dword [esp + 0x78]
test eax, eax
je 0x4db77c
cmp word [eax], 0
je 0x4db77c
push 0x800
push eax
push 0x5b6724
call fcn.00467570
mov eax, dword [0x5a660c]
mov edx, dword [eax + 0x14]
lea ecx, [eax + 0x24]
push ecx
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [eax + 0x1c]
push ecx
push edx
push 0x5b6724
call fcn.004e3280
cmp word [0x5b6724], 0
mov bl, al
je 0x4db7d7
cmp word [0x5b6726], 0
je 0x4db7d7
cmp word [0x5b6728], 0
mov eax, 0x5b6728
je 0x4db7d7
cmp word [eax], 0x3a
jne 0x4db7ce
mov ecx, 0x5f
mov word [eax], cx
add eax, 2
cmp word [eax], 0
jne 0x4db7c0
push 0x5b6724
push 0x5b6724
call fcn.00451a70
push 0x800
push 0x5b6724
push 0x54a798
call fcn.004691b0
mov cl, byte [0x550a71]
test cl, cl
je 0x4db812
cmp word [0x554b82], 0x49
je 0x4db812
mov al, 1
jmp 0x4db814
xor al, al
push 0
test cl, cl
push eax
sete dl
movzx eax, dl
push eax
push 0x5b6724
call fcn.004690e0
test al, al
je 0x4dbacd
movzx ecx, word [0x554b82]
push ecx
call sub.USER32.dll_CharUpperW
cmp eax, 0x49
jne 0x4db85c
push 0x5b6724
push 0x555ba2
push 0x554b84
push 0
push 0
call fcn.00445d30
cmp byte [0x550a71], 0
jne 0x4dba36
test bl, bl
je 0x4db985
cmp byte [0x5508eb], 0
jne 0x4dbab0
cmp word [0x5b6724], 0
je 0x4dbab0
cmp dword [0x5508f0], 1
je 0x4dbab0
mov ecx, dword [0x5a660c]
mov eax, dword [ecx + 0x1c]
xor esi, esi
test eax, eax
je 0x4db8ad
cmp eax, 0xb
jne 0x4db8b0
mov esi, dword [ecx + 0x24]
push 0x5b6724
call fcn.00443cc0
test al, al
jne 0x4db923
cmp byte [0x550a4e], al
push esi
sete dl
movzx eax, dl
push eax
push 0x5b6724
call fcn.00443ff0
test eax, eax
je 0x4db923
push 1
push 0x5b6724
call fcn.004440b0
cmp byte [0x550a4e], 0
push esi
sete cl
movzx edx, cl
push edx
push 0x5b6724
call fcn.00443ff0
test eax, eax
je 0x4db923
push 0x5b6724
push 0x555ba2
push 0x13
call fcn.00403620
mov ecx, 0x52c138
call fcn.0043dd70
jmp 0x4dbab0
push 0x5b6724
lea ecx, [esp + 0xe8]
call fcn.00467940
mov eax, dword [0x5b772c]
mov ecx, dword [0x5b7728]
push eax
push ecx
lea ecx, [esp + 0x8c]
call fcn.00401d40
mov edx, dword [0x5b773c]
mov eax, dword [0x5b7738]
push edx
push eax
lea ecx, [esp + 0x8c]
call fcn.00401d40
mov ecx, dword [0x5b7734]
mov edx, dword [0x5b7730]
push ecx
push edx
lea ecx, [esp + 0x8c]
call fcn.00401d40
jmp 0x4dbab0
push 0x5b6724
call fcn.004dc7d0
cmp eax, 0xffffffff
je 0x4dba7a
xor esi, esi
cmp eax, esi
je 0x4dba6b
cmp eax, 1
jne 0x4dba36
mov eax, dword [0x5508c8]
cmp eax, 2
je 0x4dbab0
cmp byte [0x5508ec], 0
jne 0x4dbab0
cmp byte [0x5508eb], 0
jne 0x4dbab0
cmp eax, esi
je 0x4db9dc
cmp eax, 3
jne 0x4dba36
movzx eax, word [0x5b6678]
movzx ecx, word [0x5b6676]
shl eax, 0x10
add eax, ecx
push eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], esi
mov dword [esp + 0x64], esi
call fcn.00468d80
mov eax, dword [0x5a65f4]
mov ecx, dword [0x5a65f0]
push esi
lea edx, [esp + 0x60]
push edx
push eax
push ecx
push 0x800
push 0x5b6724
push 0x54a798
call fcn.00469200
cmp eax, 6
je 0x4dbac5
cmp eax, 1
je 0x4dbab0
mov edx, dword [0x5a660c]
test byte [edx + 0x40], 1
je 0x4dba9d
call fcn.004e00f0
test eax, eax
je 0x4dba9d
cmp eax, 9
je 0x4dbb42
cmp eax, 1
jne 0x4dba85
push 0x5b6724
push 6
call fcn.00403660
inc dword [esp + 0x2c]
jmp 0x4dbab0
mov eax, dword [0x5508c8]
cmp eax, 2
je 0x4dbab0
jmp 0x4db9d3
cmp byte [0x5508eb], 0
jne 0x4dbab0
jmp 0x4dba36
cmp eax, dword [esp + 0x14]
jle 0x4dba8f
mov dword [esp + 0x14], eax
push 0x5b6724
push 6
call fcn.00403660
jmp 0x4dbab0
call fcn.004da430
test eax, eax
je 0x4dbab0
cmp eax, dword [esp + 0x14]
jle 0x4dbab0
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
inc eax
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x1c], eax
jl 0x4db260
jmp 0x4dbacd
mov dword [esp + 0x18], 1
mov edx, dword [esp + 0x58]
mov ecx, dword [0x5b6638]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
xor edi, edi
push edi
push edx
mov edx, dword [esp + 0x5c]
push edx
call eax
mov ecx, dword [0x5b6638]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [0x5b6618]
push 0x2000
push ecx
mov dword [0x5b6658], eax
mov dword [0x5b665c], edx
call fcn.004dc400
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov esi, 1
add dword [esp + 0x40], esi
mov dword [0x5b661c], edx
mov dword [0x5b6620], eax
mov dword [0x5b6624], ecx
cmp dword [esp + 0x18], edi
je 0x4dacd2
jmp 0x4dbb4b
push 2
call fcn.00402ca0
xor edi, edi
push 0x800
lea edx, [esp + 0x24a8]
push edx
lea ecx, [esp + 0xec]
call fcn.00467b50
mov ebx, dword [esp + 0x84]
test al, al
je 0x4dbbd7
lea esi, [ebx + 0x10]
mov eax, dword [esi - 0x10]
mov dword [esp + 0x5c], eax
mov ecx, dword [esi - 0xc]
mov dword [esp + 0x60], ecx
mov edx, dword [esi - 8]
mov dword [esp + 0x54], edx
mov eax, dword [esi - 4]
mov dword [esp + 0x58], eax
mov ecx, dword [esi]
mov dword [esp + 0x44], ecx
mov edx, dword [esi + 4]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x4c], edx
push ecx
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0x24b0]
push eax
call fcn.00443b10
push 0x800
lea ecx, [esp + 0x24a8]
push ecx
lea ecx, [esp + 0xec]
add esi, 0x18
call fcn.00467b50
test al, al
jne 0x4dbb72
call fcn.00469180
test al, al
jne 0x4dbc0b
cmp dword [esp + 0x3c], edi
je 0x4dbc0b
cmp byte [0x5b77ac], al
jne 0x4dbc0b
push 0x555ba2
mov ecx, 0x52c138
call fcn.0043dc80
cmp dword [esp + 0x14], edi
jne 0x4dbc0b
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x20]
movzx esi, word [esp + 0x2c]
inc eax
mov dword [esp + 0x20], eax
cmp eax, esi
jne 0x4dbc67
cmp word [0x554b82], 0x49
je 0x4dbc67
cmp dword [0x5b7740], edi
jne 0x4dbc67
lea ecx, [esp + 0x94]
mov dword [esp + 0xd8], edi
mov dword [esp + 0xdc], 0x43
mov dword [esp + 0x94], 0x555ba2
mov dword [esp + 0xd4], 1
call fcn.004693c0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
cmp eax, edi
jne 0x4dbc86
cmp ecx, 1
jg 0x4dbc86
xor dx, dx
cmp dx, word [esp + 0x30]
sbb ecx, ecx
and ecx, 0x46
add ecx, 0xb
jmp 0x4dbcb9
cmp eax, esi
jne 0x4dbc96
cmp ecx, 1
jg 0x4dbc96
mov ecx, 0x52
jmp 0x4dbcb9
cmp word [esp + 0x30], di
jbe 0x4dbca9
cmp ecx, 1
jg 0x4dbca9
mov ecx, 0x51
jmp 0x4dbcb9
cmp word [esp + 0x2c], di
jbe 0x4dbcbd
cmp ecx, edi
jne 0x4dbcbd
mov ecx, 1
mov dword [esp + 0x14], ecx
mov byte [esp + 0x64b8], 2
mov eax, dword [esp + 0xe4]
cmp eax, edi
je 0x4dbcdd
push eax
call fcn.004e3342
mov ecx, dword [esp + 0x18]
add esp, 4
mov byte [esp + 0x64b8], 1
cmp ebx, edi
je 0x4dbcf6
push ebx
call fcn.004e3342
mov ecx, dword [esp + 0x18]
add esp, 4
mov byte [esp + 0x64b8], 0
mov eax, dword [esp + 0x144]
cmp eax, edi
je 0x4dbd16
push eax
call fcn.004e3342
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x64b8], 0xffffffff
cmp dword [esp + 0x64], edi
je 0x4dbd3a
mov eax, dword [esp + 0x64]
push eax
call fcn.004e3342
mov eax, dword [esp + 0x18]
add esp, 4
jmp 0x4dbd3c
mov eax, ecx
mov ecx, dword [esp + 0x64b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x6498]
xor ecx, esp
call fcn.004e34f4
mov esp, ebp
pop ebp
ret