Function at 0x4ad3c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50eb98
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x2c], esi
xor ebx, ebx
mov dword [esi], vtable.GameMapProgram::CGameMap.0
mov dword [ebp - 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea edi, [esi + 0x14]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
push fcn.0042fe50
push 0x4683d0
push 2
lea eax, [esi + 0x38]
push 0xc
push eax
mov byte [ebp - 4], 4
call fcn.004f6091
mov ecx, 0x55380c
mov dword [esi + 0x50], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], 0xffffffff
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], 0xff
mov dword [esi + 0x7c], ebx
mov byte [ebp - 4], 6
call fcn.004174f0
mov ecx, dword [0x552af0]
mov edx, dword [ecx + 0x18]
cmp edx, ebx
jne 0x4ad487
xor ecx, ecx
jmp 0x4ad49d
mov eax, dword [ecx + 0x20]
cmp eax, ebx
je 0x4ad493
mov eax, dword [eax + 0xc]
jmp 0x4ad495
xor eax, eax
mov ecx, dword [ecx + 0x1c]
imul ecx, eax
add ecx, edx
push str.bg_black.bgd
push edi
call fcn.0043d890
cmp al, bl
jne 0x4ad4c1
push 0x533160
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], 1
call fcn.004f4775
mov ecx, 0x55380c
call fcn.004174f0
mov ecx, dword [0x552af0]
mov edx, dword [ecx + 0x18]
cmp edx, ebx
jne 0x4ad4dc
xor ecx, ecx
jmp 0x4ad4f2
mov eax, dword [ecx + 0x20]
cmp eax, ebx
je 0x4ad4e8
mov eax, dword [eax + 0xc]
jmp 0x4ad4ea
xor eax, eax
mov ecx, dword [ecx + 0x1c]
imul ecx, eax
add ecx, edx
lea edx, [ebp - 0x38]
push edx
call fcn.0043d750
push eax
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 7
call fcn.00404fd0
mov eax, dword [ebp - 0x30]
mov byte [ebp - 4], 6
cmp eax, ebx
je 0x4ad538
dec dword [eax + 4]
mov ecx, eax
cmp dword [eax + 4], ebx
jne 0x4ad538
cmp byte [ecx + 8], bl
je 0x4ad528
mov eax, dword [ecx]
mov edx, dword [eax]
call edx
mov ecx, dword [ebp - 0x30]
cmp ecx, ebx
je 0x4ad538
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
mov edi, dword [0x5538b4]
mov ecx, 0x55380c
call fcn.004174f0
mov ecx, dword [0x552af0]
mov edx, dword [ecx + 0x18]
cmp edx, ebx
jne 0x4ad559
xor ecx, ecx
jmp 0x4ad56f
mov eax, dword [ecx + 0x20]
cmp eax, ebx
je 0x4ad565
mov eax, dword [eax + 0xc]
jmp 0x4ad567
xor eax, eax
mov ecx, dword [ecx + 0x1c]
imul ecx, eax
add ecx, edx
push edi
lea eax, [esi + 0x38]
push eax
call fcn.0048efc0
cmp al, bl
jne 0x4ad592
push 0x533160
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 1
call fcn.004f4775
mov edi, dword [0x5538b8]
mov ecx, 0x55380c
call fcn.004174f0
mov ecx, dword [0x552af0]
mov edx, dword [ecx + 0x18]
cmp edx, ebx
jne 0x4ad5b3
xor ecx, ecx
jmp 0x4ad5c9
mov eax, dword [ecx + 0x20]
cmp eax, ebx
je 0x4ad5bf
mov eax, dword [eax + 0xc]
jmp 0x4ad5c1
xor eax, eax
mov ecx, dword [ecx + 0x1c]
imul ecx, eax
add ecx, edx
push edi
lea edx, [esi + 0x44]
push edx
call fcn.0048efc0
cmp al, bl
jne 0x4ad5ec
push 0x533160
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 1
call fcn.004f4775
push 0xa4
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x4ad60d
mov ecx, eax
call fcn.004abe30
jmp 0x4ad60f
xor eax, eax
push eax
lea ecx, [esi + 8]
mov byte [ebp - 4], 6
call fcn.0049c440
mov edx, dword [esi + 8]
cmp edx, ebx
jne 0x4ad627
xor eax, eax
jmp 0x4ad63d
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x4ad633
mov ecx, dword [eax + 0xc]
jmp 0x4ad635
xor ecx, ecx
mov eax, dword [esi + 0xc]
imul eax, ecx
add eax, edx
cmp byte [eax + 0x44], bl
jne 0x4ad657
push 0x533160
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], 1
call fcn.004f4775
push 0x24
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 9
cmp eax, ebx
je 0x4ad675
mov ecx, eax
call fcn.00412010
jmp 0x4ad677
xor eax, eax
push eax
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 6
call fcn.0040cd60
mov ecx, 0x553818
call fcn.004175a0
mov edx, dword [0x552af4]
mov eax, dword [edx + 0x1c]
mov ecx, 0x553818
mov dword [ebp - 0x24], eax
call fcn.004175a0
mov ecx, dword [0x552af4]
mov edx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x18]
push 1
push 1
push edx
push eax
lea ecx, [esi + 0x20]
call fcn.00406a30
mov ecx, eax
call fcn.0040fb20
cmp al, bl
jne 0x4ad6de
push 0x533160
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 1
call fcn.004f4775
push ebx
push ebx
lea ecx, [esi + 0x20]
call fcn.004b47f0
push eax
lea ecx, [esi + 8]
call fcn.00406a30
mov ecx, eax
call fcn.0049f500
mov ecx, 0x553818
call fcn.004175a0
mov ecx, dword [0x552af4]
push 2
call fcn.00404740
and dword [eax + 0x18], 2
mov ecx, 0x553818
call fcn.004175a0
mov ecx, dword [0x552af4]
push 2
call fcn.00404740
mov ecx, 0x553818
mov byte [eax + 0xc], bl
call fcn.004175a0
mov ecx, dword [0x552af4]
push 2
call fcn.00404740
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x88], ecx
mov ecx, 0x553818
call fcn.004175a0
mov ecx, dword [0x552af4]
push 2
call fcn.00404740
and dword [eax + 0x14], 2
mov ecx, 0x55380c
call fcn.004174f0
mov ecx, dword [0x552af0]
call fcn.00477bc0
mov dword [eax + 0x70], 0xffffffff
mov ecx, 0x55380c
mov dword [esi + 4], ebx
call fcn.004174f0
mov ecx, dword [0x552af0]
call fcn.0046c110
mov dword [eax + 4], ebx
mov byte [eax + 8], bl
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret