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

Disassembly:
push 0xffffffffffffffff
push 0x4ad94d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x104
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x18]
call fcn.0050d46e
lea ecx, [esp + 0x1c]
mov dword [esp + 0x11c], 0
call fcn.0050d46e
lea ecx, [esp + 0x28]
mov byte [esp + 0x11c], 1
call fcn.0050d46e
lea ecx, [esp + 0x20]
mov byte [esp + 0x11c], 2
call fcn.0050d46e
lea ecx, [esp + 0x24]
mov byte [esp + 0x11c], 3
call fcn.0050d46e
push 0
lea ecx, [esp + 0xf8]
mov byte [esp + 0x120], 4
call fcn.004b3b78
push 0
lea ecx, [esp + 0xe4]
mov byte [esp + 0x120], 5
call fcn.004b3b78
lea ecx, [esp + 0x44]
mov byte [esp + 0x11c], 6
call fcn.004af1d8
lea ecx, [esp + 0x2c]
mov byte [esp + 0x11c], 7
call fcn.004c5a38
mov eax, dword [0x4de8b0]
mov bl, 8
push 1
push 1
mov edx, dword [eax + 0x110]
lea ecx, [eax + 0x110]
mov byte [esp + 0x124], bl
call dword [edx + 4]
mov esi, dword [esp + 0x124]
mov ecx, dword [ebp + 0x54]
mov eax, dword [esi + 0x18]
cmp eax, ecx
jne 0x4d04e1
lea ecx, [esp + 0x24]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, ebp
call fcn.004c9298
push ecx
lea edx, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0050d618
push ecx
mov byte [esp + 0x124], 9
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4ceac4
call fcn.0050d630
lea ecx, [esp + 0x34]
mov byte [esp + 0x124], bl
call fcn.004c5ab8
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0050d618
push ecx
mov byte [esp + 0x124], 0xa
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d0ed8
call fcn.0050d630
lea ecx, [esp + 0x34]
mov byte [esp + 0x124], bl
call fcn.004c5ab8
mov ecx, dword [ebp + 0x54]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4d0ec8
call fcn.0050d630
lea ecx, [esp + 0x34]
call fcn.004c5c48
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0050d618
push ecx
mov byte [esp + 0x124], 0xb
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4ceab0
call fcn.0050d630
lea ecx, [esp + 0x34]
mov byte [esp + 0x124], bl
call fcn.004c5ab8
mov eax, dword [esp + 0x128]
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4d5c6c
call fcn.0050d630
lea ecx, [esp + 0x34]
call fcn.004c5c48
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
call fcn.004c5a98
mov byte [esp + 0x11c], 0xc
push eax
lea ecx, [esp + 0x1c]
call fcn.0050d5e8
mov byte [esp + 0x11c], bl
lea ecx, [esp + 0x10]
jmp 0x4d068a
mov ecx, ebp
call fcn.004d93e8
lea edx, [esp + 0x24]
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, ebp
call fcn.004c9298
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0050d618
push ecx
mov byte [esp + 0x124], 0xd
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4ceab0
call fcn.0050d630
lea ecx, [esp + 0x34]
mov byte [esp + 0x124], bl
call fcn.004c5ab8
push ecx
lea eax, [esp + 0x28]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0050d618
push ecx
mov byte [esp + 0x124], 0xe
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4ceac4
call fcn.0050d630
lea ecx, [esp + 0x34]
mov byte [esp + 0x124], bl
call fcn.004c5ab8
mov ecx, dword [esi + 0x44]
mov edx, dword [0x4de8b0]
push ecx
mov edi, esp
mov dword [esp + 0x18], esp
push ecx
lea eax, [edx + ecx*4 + 0xac8]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0050d618
push edi
call fcn.00477bb8
add esp, 4
mov byte [esp + 0x124], 0xf
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d15f0
call fcn.0050d630
lea ecx, [esp + 0x34]
mov byte [esp + 0x124], bl
call fcn.004c5ab8
mov ecx, dword [ebp + 0x54]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4d0ec8
call fcn.0050d630
lea ecx, [esp + 0x34]
call fcn.004c5c48
mov edx, dword [esi + 0x18]
push edx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4d0e18
call fcn.0050d630
lea ecx, [esp + 0x34]
call fcn.004c5c48
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
call fcn.0050d618
push ecx
mov byte [esp + 0x124], 0x10
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x4d0ed8
call fcn.0050d630
lea ecx, [esp + 0x34]
mov byte [esp + 0x124], bl
call fcn.004c5ab8
mov ecx, dword [esp + 0x128]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x4d5c6c
call fcn.0050d630
lea ecx, [esp + 0x34]
call fcn.004c5c48
lea edx, [esp + 0x10]
lea ecx, [esp + 0x2c]
push edx
call fcn.004c5a98
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x120], 0x11
call fcn.0050d5e8
mov byte [esp + 0x11c], bl
lea ecx, [esp + 0x10]
call fcn.0050d468
mov ecx, ebp
call fcn.004fa858
cdq
push 1
push 1
push 1
lea ecx, [esp + 0x24]
mov edi, eax
mov esi, edx
call fcn.00470bf8
push eax
push 0
lea ecx, [esp + 0x2c]
call fcn.0050d492
push eax
push ecx
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x4de2c8
call fcn.0050d618
mov ecx, dword [esp + 0x13c]
mov edx, dword [esp + 0x140]
mov byte [esp + 0x134], 0x12
mov eax, dword [ecx + 0x44]
mov ecx, dword [ecx + 0x18]
xor ecx, eax
xor ecx, edx
push ecx
mov edx, esp
mov dword [esp + 0xf8], esp
push ecx
push 0xa
push eax
push edx
mov ecx, ebp
call fcn.004d73e8
lea eax, [esp + 0x2c]
mov ecx, ebp
push eax
mov byte [esp + 0x13c], bl
call fcn.004cfd38
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x120], 0x13
call fcn.0050d5e8
lea ecx, [esp + 0x10]
mov byte [esp + 0x11c], bl
call fcn.0050d468
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
call fcn.0050d48c
mov ecx, ebp
call fcn.004fa858
cdq
add eax, edi
mov ecx, 1
adc edx, esi
call fcn.0050ddb8
mov ecx, dword [0x4de8b0]
push 1
add ecx, 0x110
push 0
mov dword [esp + 0x1c], eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
push 0x4d85a8
push eax
call dword [fcn.004b46f0]
add esp, 8
test eax, eax
jne 0x4d0a19
mov ecx, dword [esp + 0x12c]
xor edi, edi
cmp ecx, edi
je 0x4d079f
push 0x4d13c0
call fcn.0050d47a
push ecx
mov ecx, esp
mov dword [esp + 0xe0], esp
push 0x4d85a8
call fcn.0050d630
push edi
mov ecx, ebp
call fcn.004d7308
lea ecx, [esp + 0x2c]
mov byte [esp + 0x11c], 7
call fcn.004c5a78
push 1
lea ecx, [esp + 0xcc]
mov byte [esp + 0x120], 0x16
call dword [fcn.004b461c]
mov eax, dword [esp + 0xa8]
cmp eax, edi
je 0x4d080b
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d0802
cmp al, 0xff
je 0x4d0802
dec al
mov byte [ecx], al
jmp 0x4d080b
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xa8], edi
cmp eax, edi
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], edi
mov byte [esp + 0x11c], 0x14
je 0x4d0953
mov eax, dword [esp + 0x80]
push edi
mov ecx, eax
add eax, 0x20
mov dword [esp + 0x84], eax
call fcn.004953a8
mov eax, dword [esp + 0xa0]
dec eax
mov dword [esp + 0xa0], eax
je 0x4d0874
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
cmp ecx, eax
jne 0x4d0946
mov eax, dword [esp + 0x84]
mov ecx, eax
add eax, 4
mov dword [esp + 0x84], eax
mov ecx, dword [ecx]
push ecx
call fcn.0050d474
mov eax, dword [esp + 0xa4]
add esp, 4
cmp eax, edi
jne 0x4d08fd
lea ecx, [esp + 0x34]
call fcn.004952b8
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x80], edx
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x98]
mov dword [esp + 0x78], eax
push edx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x98], esi
call fcn.0050d474
add esp, 4
jmp 0x4d0946
mov eax, dword [esp + 0x84]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10c]
call fcn.004952c8
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0x108]
mov edx, dword [esp + 0x10c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x110]
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
cmp dword [esp + 0xa0], edi
jne 0x4d0837
mov eax, dword [esp + 0x70]
mov byte [esp + 0x11c], 6
cmp eax, edi
je 0x4d0992
mov esi, 4
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x70]
add ecx, esi
dec eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x70], eax
je 0x4d0983
cmp ecx, dword [esp + 0x4c]
jne 0x4d098c
lea ecx, [esp + 0x44]
call fcn.004951f8
cmp dword [esp + 0x70], edi
jne 0x4d0968
lea ecx, [esp + 0xe0]
mov byte [esp + 0x11c], 5
call fcn.004b4098
lea ecx, [esp + 0xf4]
mov byte [esp + 0x11c], 4
call fcn.004b4098
lea ecx, [esp + 0x24]
mov byte [esp + 0x11c], 3
call fcn.0050d468
lea ecx, [esp + 0x20]
mov byte [esp + 0x11c], 2
call fcn.0050d468
lea ecx, [esp + 0x28]
mov byte [esp + 0x11c], 1
call fcn.0050d468
lea ecx, [esp + 0x1c]
mov byte [esp + 0x11c], 0
call fcn.0050d468
lea ecx, [esp + 0x18]
mov dword [esp + 0x11c], 0xffffffff
call fcn.0050d468
xor eax, eax
jmp 0x4d1630
xor edi, edi
lea ecx, [esp + 0x1c]
push edi
call fcn.0050d492
mov dl, byte [esp + 0xf3]
mov esi, eax
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x34], dl
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x10], edi
call dword [0x4b4610]
cmp eax, edi
jae 0x4d0a64
call dword [0x4b460c]
mov edx, dword [esp + 0x38]
test edx, edx
je 0x4d0a8f
mov al, byte [edx - 1]
test al, al
je 0x4d0a8f
cmp al, 0xff
je 0x4d0a8f
test edi, edi
jne 0x4d0aba
xor esi, esi
dec al
push esi
lea ecx, [esp + 0x38]
mov byte [edx - 1], al
call dword [fcn.004b461c]
jmp 0x4d0aed
test edi, edi
jne 0x4d0aa1
push 1
lea ecx, [esp + 0x38]
call dword [fcn.004b461c]
jmp 0x4d0aeb
mov eax, dword [esp + 0x40]
cmp eax, 0x1f
ja 0x4d0aae
cmp eax, edi
jae 0x4d0ac9
push 1
lea ecx, [esp + 0x38]
call dword [fcn.004b461c]
push edi
lea ecx, [esp + 0x38]
call dword [0x4b4608]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x10]
mov edi, edx
mov ecx, eax
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov byte [ecx + eax], 0
xor esi, esi
lea edx, [esp + 0xf4]
push 1
lea eax, [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x128], 0x17
call fcn.004af268
and eax, 0xff
mov byte [esp + 0x11c], bl
mov edi, eax
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x4d0b40
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d0b37
cmp al, 0xff
je 0x4d0b37
dec al
mov byte [ecx], al
jmp 0x4d0b40
push ecx
call fcn.0050d474
add esp, 4
or ebx, 0xffffffff
lea ecx, [esp + 0x1c]
push ebx
call fcn.0050d48c
cmp edi, esi
jne 0x4d0d31
mov ecx, dword [esp + 0x12c]
cmp ecx, esi
je 0x4d0b6a
push 0x4d13b4
call fcn.0050d47a
push ecx
mov ecx, esp
mov dword [esp + 0xe0], esp
push 0x4d85a8
call fcn.0050d630
push esi
mov ecx, ebp
call fcn.004d7308
lea ecx, [esp + 0x2c]
mov byte [esp + 0x11c], 7
call fcn.004c5a78
mov eax, dword [esp + 0xcc]
mov byte [esp + 0x11c], 0x18
cmp eax, esi
je 0x4d0bc7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d0bbe
cmp al, 0xff
je 0x4d0bbe
dec al
mov byte [ecx], al
jmp 0x4d0bc7
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xcc], esi
cmp eax, esi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], esi
je 0x4d0c04
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d0bfb
cmp al, 0xff
je 0x4d0bfb
dec al
mov byte [ecx], al
jmp 0x4d0c04
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xa8], esi
cmp eax, esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
je 0x4d0c6f
mov eax, dword [esp + 0x80]
push esi
mov ecx, eax
add eax, 0x20
mov dword [esp + 0x84], eax
call fcn.004953a8
mov eax, dword [esp + 0xa0]
dec eax
mov dword [esp + 0xa0], eax
je 0x4d0c5d
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
cmp ecx, eax
jne 0x4d0c66
lea ecx, [esp + 0x74]
call fcn.004951f8
cmp dword [esp + 0xa0], esi
jne 0x4d0c24
mov eax, dword [esp + 0x70]
mov byte [esp + 0x11c], 6
cmp eax, esi
je 0x4d0cae
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x70]
add ecx, 4
dec eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x70], eax
je 0x4d0c9f
mov eax, dword [esp + 0x4c]
mov edx, ecx
cmp edx, eax
jne 0x4d0ca8
lea ecx, [esp + 0x44]
call fcn.004951f8
cmp dword [esp + 0x70], esi
jne 0x4d0c7f
lea ecx, [esp + 0xe0]
mov byte [esp + 0x11c], 5
call fcn.004b4098
lea ecx, [esp + 0xf4]
mov byte [esp + 0x11c], 4
call fcn.004b4098
lea ecx, [esp + 0x24]
mov byte [esp + 0x11c], 3
call fcn.0050d468
lea ecx, [esp + 0x20]
mov byte [esp + 0x11c], 2
call fcn.0050d468
lea ecx, [esp + 0x28]
mov byte [esp + 0x11c], 1
call fcn.0050d468
lea ecx, [esp + 0x1c]
mov byte [esp + 0x11c], 0
call fcn.0050d468
lea ecx, [esp + 0x18]
mov dword [esp + 0x11c], ebx
call fcn.0050d468
xor eax, eax
jmp 0x4d1630
mov edi, dword [esp + 0x12c]
push esi
lea eax, [esp + 0xf8]
push edi
push eax
mov ecx, ebp
call fcn.004d1658
test eax, eax
jne 0x4d0faa
lea ecx, [esp + 0x2c]
mov byte [esp + 0x11c], 7
call fcn.004c5a78
mov eax, dword [esp + 0xcc]
mov byte [esp + 0x11c], 0x19
cmp eax, esi
je 0x4d0d92
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d0d89
cmp al, 0xff
je 0x4d0d89
dec al
mov byte [ecx], al
jmp 0x4d0d92
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xcc], esi
cmp eax, esi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], esi
je 0x4d0dcf
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d0dc6
cmp al, 0xff
je 0x4d0dc6
dec al
mov byte [ecx], al
jmp 0x4d0dcf
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xa8], esi
cmp eax, esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
je 0x4d0e3a
mov eax, dword [esp + 0x80]
push esi
mov ecx, eax
add eax, 0x20
mov dword [esp + 0x84], eax
call fcn.004953a8
mov eax, dword [esp + 0xa0]
dec eax
mov dword [esp + 0xa0], eax
je 0x4d0e28
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
cmp ecx, eax
jne 0x4d0e31
lea ecx, [esp + 0x74]
call fcn.004951f8
cmp dword [esp + 0xa0], esi
jne 0x4d0def
mov eax, dword [esp + 0x70]
mov byte [esp + 0x11c], 6
cmp eax, esi
je 0x4d0f27
mov ebp, 4
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x70]
add ecx, ebp
dec eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x70], eax
je 0x4d0e76
mov eax, dword [esp + 0x4c]
mov edx, ecx
cmp edx, eax
jne 0x4d0f1d
mov ecx, dword [esp + 0x54]
mov eax, ecx
add ecx, ebp
mov dword [esp + 0x54], ecx
mov eax, dword [eax]
push eax
call fcn.0050d474
mov eax, dword [esp + 0x74]
add esp, 4
cmp eax, esi
jne 0x4d0eec
lea ecx, [esp + 0x104]
call fcn.004952b8
mov eax, dword [esp + 0x104]
mov ecx, dword [esp + 0x108]
mov edx, dword [esp + 0x10c]
mov edi, dword [esp + 0x110]
mov dword [esp + 0x48], eax
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x4c], ecx
push eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], edi
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edi
call fcn.0050d474
add esp, 4
jmp 0x4d0f1d
mov eax, dword [esp + 0x54]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x3c]
call fcn.004952c8
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
cmp dword [esp + 0x70], esi
jne 0x4d0e53
lea ecx, [esp + 0xe0]
mov byte [esp + 0x11c], 5
call fcn.004b4098
lea ecx, [esp + 0xf4]
mov byte [esp + 0x11c], 4
call fcn.004b4098
lea ecx, [esp + 0x24]
mov byte [esp + 0x11c], 3
call fcn.0050d468
lea ecx, [esp + 0x20]
mov byte [esp + 0x11c], 2
call fcn.0050d468
lea ecx, [esp + 0x28]
mov byte [esp + 0x11c], 1
call fcn.0050d468
lea ecx, [esp + 0x1c]
mov byte [esp + 0x11c], 0
call fcn.0050d468
lea ecx, [esp + 0x18]
mov dword [esp + 0x11c], ebx
call fcn.0050d468
xor eax, eax
jmp 0x4d1630
cmp edi, esi
je 0x4d0ff3
push 0x4d5cf0
lea ecx, [esp + 0xf8]
call fcn.004b5078
push eax
call fcn.00477948
mov edx, dword [esp + 0x128]
mov dword [edi + 0xc], eax
add esp, 4
mov ecx, dword [edx + 0x18]
mov edx, dword [ebp + 0x54]
cmp ecx, edx
je 0x4d0fe2
add dword [0x4de240], eax
mov edx, dword [edi + 0xc]
mov eax, dword [ebp + 0x5c]
add eax, edx
mov dword [ebp + 0x5c], eax
mov dword [edi + 8], esi
mov dword [edi + 0x10], esi
push 0x4d5bac
lea ecx, [esp + 0xf8]
call fcn.004b5078
push eax
lea ecx, [esp + 0xe4]
call fcn.004b4218
lea ecx, [esp + 0xe0]
call fcn.004b4318
cmp eax, 6
jne 0x4d1048
push esi
push 0x4d5bac
lea ecx, [esp + 0xfc]
call fcn.004b5078
mov ecx, eax
call fcn.004b4f08
push eax
lea ecx, [esp + 0xe4]
call fcn.004b4218
lea ecx, [esp + 0xe0]
call fcn.004b4318
cmp eax, 7
je 0x4d1230
cmp edi, esi
je 0x4d106d
push 0x4d5d3c
mov ecx, edi
call fcn.0050d47a
push ecx
mov ecx, esp
mov dword [esp + 0xe0], esp
push 0x4d85a8
call fcn.0050d630
push esi
mov ecx, ebp
call fcn.004d7308
lea ecx, [esp + 0x2c]
mov byte [esp + 0x11c], 7
call fcn.004c5a78
mov eax, dword [esp + 0xcc]
mov byte [esp + 0x11c], 0x1a
cmp eax, esi
je 0x4d10ca
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d10c1
cmp al, 0xff
je 0x4d10c1
dec al
mov byte [ecx], al
jmp 0x4d10ca
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xcc], esi
cmp eax, esi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], esi
je 0x4d1107
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d10fe
cmp al, 0xff
je 0x4d10fe
dec al
mov byte [ecx], al
jmp 0x4d1107
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xa8], esi
cmp eax, esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
je 0x4d1172
mov eax, dword [esp + 0x80]
push esi
mov ecx, eax
add eax, 0x20
mov dword [esp + 0x84], eax
call fcn.004953a8
mov eax, dword [esp + 0xa0]
dec eax
mov dword [esp + 0xa0], eax
je 0x4d1160
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x7c]
cmp eax, ecx
jne 0x4d1169
lea ecx, [esp + 0x74]
call fcn.004951f8
cmp dword [esp + 0xa0], esi
jne 0x4d1127
mov eax, dword [esp + 0x70]
mov byte [esp + 0x11c], 6
cmp eax, esi
je 0x4d11ad
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x70]
add ecx, 4
dec eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x70], eax
je 0x4d119e
cmp ecx, dword [esp + 0x4c]
jne 0x4d11a7
lea ecx, [esp + 0x44]
call fcn.004951f8
cmp dword [esp + 0x70], esi
jne 0x4d1182
lea ecx, [esp + 0xe0]
mov byte [esp + 0x11c], 5
call fcn.004b4098
lea ecx, [esp + 0xf4]
mov byte [esp + 0x11c], 4
call fcn.004b4098
lea ecx, [esp + 0x24]
mov byte [esp + 0x11c], 3
call fcn.0050d468
lea ecx, [esp + 0x20]
mov byte [esp + 0x11c], 2
call fcn.0050d468
lea ecx, [esp + 0x28]
mov byte [esp + 0x11c], 1
call fcn.0050d468
lea ecx, [esp + 0x1c]
mov byte [esp + 0x11c], 0
call fcn.0050d468
lea ecx, [esp + 0x18]
mov dword [esp + 0x11c], ebx
call fcn.0050d468
xor eax, eax
jmp 0x4d1630
push 0x4d5c6c
lea ecx, [esp + 0xe4]
call fcn.004b5078
push eax
call fcn.00477948
mov ecx, dword [esp + 0x12c]
add esp, 4
cmp eax, ecx
jne 0x4d1353
mov edx, dword [esp + 0x124]
push 0x4d5c64
mov ecx, dword [edx + 0x4c]
mov esi, dword [ecx + eax*4 - 4]
lea ecx, [esp + 0xe4]
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
lea ecx, [esp + 0xe0]
mov dword [esi + 0xc], eax
push 0x4d0d48
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
mov ecx, ebp
mov dword [esi], eax
push eax
call fcn.004c9598
push 0x4d5c58
lea ecx, [esp + 0xe4]
mov dword [esi + 4], eax
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
lea ecx, [esp + 0xe0]
mov dword [esi + 0x14], eax
push 0x4d5c48
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xe0]
push 0x4d0c24
mov dword [esi + 0x1c], eax
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
lea ecx, [esp + 0xe0]
mov dword [esi + 0x2c], eax
push 0x4d5c34
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
lea ecx, [esp + 0xe0]
mov dword [esi + 0x30], eax
push 0x4d5c28
call fcn.004b5078
push eax
call fcn.00477948
add esp, 4
mov dword [esi + 0x34], eax
mov dword [esi + 0x3c], 0
mov dword [esi + 8], 1
xor esi, esi
push ecx
mov ecx, esp
mov dword [esp + 0xe0], esp
push 0x4d85a8
call fcn.0050d630
push 1
mov ecx, ebp
call fcn.004d7308
lea ecx, [esp + 0x2c]
mov byte [esp + 0x11c], 7
call fcn.004c5a78
mov eax, dword [esp + 0xcc]
mov byte [esp + 0x11c], 0x1b
cmp eax, esi
je 0x4d13b1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d13a8
cmp al, 0xff
je 0x4d13a8
dec al
mov byte [ecx], al
jmp 0x4d13b1
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xcc], esi
cmp eax, esi
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], esi
je 0x4d13ee
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4d13e5
cmp al, 0xff
je 0x4d13e5
dec al
mov byte [ecx], al
jmp 0x4d13ee
push ecx
call fcn.0050d474
add esp, 4
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xa8], esi
cmp eax, esi
mov dword [esp + 0xac], esi
mov dword [esp + 0xb0], esi
je 0x4d1500
mov ecx, dword [esp + 0x80]
push 1
mov eax, ecx
add ecx, 0x20
mov dword [esp + 0x84], ecx
lea ecx, [eax + 0xc]
call dword [fcn.004b461c]
mov eax, dword [esp + 0xa0]
dec eax
mov dword [esp + 0xa0], eax
je 0x4d1454
mov ecx, dword [esp + 0x80]
mov eax, dword [esp + 0x7c]
cmp ecx, eax
jne 0x4d14f1
mov eax, dword [esp + 0x84]
mov ecx, eax
add eax, 4
mov dword [esp + 0x84], eax
mov ecx, dword [ecx]
push ecx
call fcn.0050d474
mov eax, dword [esp + 0xa4]
add esp, 4
test eax, eax
jne 0x4d14cc
xor edx, edx
xor eax, eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x90], edx
mov edx, dword [esp + 0x98]
xor ecx, ecx
xor esi, esi
push edx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x98], esi
call fcn.0050d474
add esp, 4
jmp 0x4d14f1
mov ecx, dword [esp + 0x84]
mov eax, dword [ecx]
mov dword [esp + 0x84], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x80], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0x7c], edx
mov eax, dword [esp + 0xa0]
test eax, eax
jne 0x4d1412
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4d15ab
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x70]
add ecx, 4
dec eax
mov dword [esp + 0x50], ecx
mov dword [esp + 0x70], eax
je 0x4d152c
mov eax, ecx
mov ecx, dword [esp + 0x4c]
cmp eax, ecx
jne 0x4d159f
mov ecx, dword [esp + 0x54]
mov eax, ecx
add ecx, 4
mov dword [esp + 0x54], ecx
mov eax, dword [eax]
push eax
call fcn.0050d474
mov eax, dword [esp + 0x74]
add esp, 4
test eax, eax
jne 0x4d1583
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x68]
xor edx, edx
xor esi, esi
push ecx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], esi
call fcn.0050d474
add esp, 4
jmp 0x4d159f
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x50], eax
lea edx, [eax + 0x1000]
mov dword [esp + 0x4c], edx
mov eax, dword [esp + 0x70]
test eax, eax
jne 0x4d150c
lea ecx, [esp + 0xe0]
mov byte [esp + 0x11c], 5
call fcn.004b4098
lea ecx, [esp + 0xf4]
mov byte [esp + 0x11c], 4
call fcn.004b4098
lea ecx, [esp + 0x24]
mov byte [esp + 0x11c], 3
call fcn.0050d468
lea ecx, [esp + 0x20]
mov byte [esp + 0x11c], 2
call fcn.0050d468
lea ecx, [esp + 0x28]
mov byte [esp + 0x11c], 1
call fcn.0050d468
lea ecx, [esp + 0x1c]
mov byte [esp + 0x11c], 0
call fcn.0050d468
lea ecx, [esp + 0x18]
mov dword [esp + 0x11c], 0xffffffff
call fcn.0050d468
mov eax, 1
mov ecx, dword [esp + 0x114]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x110
ret 0xc