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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x1e
push 0
push 0
dec ecx
jne 0x4d6925
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
call fcn.004051d8
mov edi, dword [0x44e4bc]
xor eax, eax
push ebp
push 0x42751d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov ecx, 4
mov eax, dword [ebp - 4]
call fcn.004d68d0
mov ebx, dword [ebp - 0xc]
shl ebx, 3
lea ebx, [ebx + ebx*8]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x118]
lea eax, [eax + ebx*8 + 0x40]
push eax
push pe_nt_image_headers32
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x1c]
mov ecx, 4
call fcn.00442240
mov eax, dword [ebp + 8]
add dword [eax], 4
mov eax, dword [ebp - 0x1c]
call fcn.00402a80
mov esi, eax
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp - 0x1c]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.004d68d0
mov edx, dword [ebp + 0x10]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x118]
lea edx, [edx + ebx*8 + 0x40]
push edx
push pe_nt_image_headers32
mov eax, esi
mov edx, eax
mov ecx, dword [ebp - 0x1c]
call fcn.0044218c
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
add dword [eax], edx
mov eax, dword [esi]
mov dword [ebp - 0x28], eax
add esi, 4
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
add esi, 4
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
add esi, 4
lea eax, [ebp - 0x34]
mov edx, esi
call fcn.00404d20
mov eax, dword [ebp - 0x34]
call fcn.00404e28
add eax, eax
add eax, 2
add esi, eax
mov al, byte [esi]
mov byte [ebp - 0x39], al
inc esi
cmp dword [ebp - 0x2c], 1
jne 0x4d6cc4
cmp byte [ebp - 0x39], 3
jne 0x4d6cc4
mov al, byte [0x427530]
push eax
push 0
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [0x44e514]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [edi]
mov eax, dword [ebp - 0x34]
call fcn.0045117c
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0x34]
call fcn.00404c28
mov al, byte [0x427530]
push eax
push 0
lea eax, [ebp - 0x50]
push eax
mov eax, dword [0x44e514]
mov eax, dword [eax]
mov ecx, dword [eax + 0x14]
mov edx, dword [edi + 4]
mov eax, dword [ebp - 0x34]
call fcn.0045117c
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x34]
call fcn.00404c28
mov al, byte [0x427530]
push eax
push 0
lea eax, [ebp - 0x54]
push eax
mov eax, dword [0x44e514]
mov eax, dword [eax]
mov ecx, dword [eax + 0x10]
mov edx, dword [edi + 8]
mov eax, dword [ebp - 0x34]
call fcn.0045117c
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x34]
call fcn.00404c28
mov al, byte [0x427530]
push eax
push 0
lea eax, [ebp - 0x58]
push eax
mov eax, dword [0x44e514]
mov eax, dword [eax]
mov ecx, dword [eax + 0xc]
mov edx, dword [edi + 0xc]
mov eax, dword [ebp - 0x34]
call fcn.0045117c
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x34]
call fcn.00404c28
mov al, byte [0x427530]
push eax
push 0
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [0x44e514]
mov eax, dword [eax]
mov ecx, dword [eax + 0x24]
mov edx, dword [edi + 0x10]
mov eax, dword [ebp - 0x34]
call fcn.0045117c
mov edx, dword [ebp - 0x5c]
lea eax, [ebp - 0x34]
call fcn.00404c28
mov al, byte [0x427530]
push eax
push 0
lea eax, [ebp - 0x60]
push eax
mov eax, dword [0x44e514]
mov eax, dword [eax]
mov ecx, dword [eax + 0x2c]
mov edx, dword [edi + 0x14]
mov eax, dword [ebp - 0x34]
call fcn.0045117c
mov edx, dword [ebp - 0x60]
lea eax, [ebp - 0x34]
call fcn.00404c28
mov al, byte [0x427530]
push eax
push 0
lea eax, [ebp - 0x64]
push eax
mov eax, dword [0x44e514]
mov eax, dword [eax]
mov ecx, dword [eax + 0x20]
mov edx, dword [edi + 0x18]
mov eax, dword [ebp - 0x34]
call fcn.0045117c
mov edx, dword [ebp - 0x64]
lea eax, [ebp - 0x34]
call fcn.00404c28
mov al, byte [0x427530]
push eax
push 0
lea eax, [ebp - 0x68]
push eax
mov eax, dword [0x44e514]
mov eax, dword [eax]
mov ecx, dword [eax + 0x30]
mov edx, dword [edi + 0x1c]
mov eax, dword [ebp - 0x34]
call fcn.0045117c
mov edx, dword [ebp - 0x68]
lea eax, [ebp - 0x34]
call fcn.00404c28
mov al, byte [0x427530]
push eax
push 0
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [0x44e514]
mov eax, dword [eax]
mov ecx, dword [eax + 0x34]
mov edx, dword [edi + 0x20]
mov eax, dword [ebp - 0x34]
call fcn.0045117c
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x34]
call fcn.00404c28
mov al, byte [0x427530]
push eax
push 0
lea eax, [ebp - 0x70]
push eax
mov eax, dword [0x44e514]
mov eax, dword [eax]
mov ecx, dword [eax + 0x38]
mov edx, dword [edi + 0x24]
mov eax, dword [ebp - 0x34]
call fcn.0045117c
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x34]
call fcn.00404c28
mov al, byte [0x427530]
push eax
push 0
lea eax, [ebp - 0x74]
push eax
mov eax, dword [0x44e514]
mov eax, dword [eax]
mov ecx, dword [eax + 0x3c]
mov edx, dword [edi + 0x28]
mov eax, dword [ebp - 0x34]
call fcn.0045117c
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 0x34]
call fcn.00404c28
mov al, byte [0x427530]
push eax
push 0
lea eax, [ebp - 0x78]
push eax
mov eax, dword [0x44e514]
mov eax, dword [eax]
mov ecx, dword [eax + 0x40]
mov edx, dword [edi + 0x2c]
mov eax, dword [ebp - 0x34]
call fcn.0045117c
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0x34]
call fcn.00404c28
mov al, byte [0x427530]
push eax
push 0
lea eax, [ebp - 0x7c]
push eax
mov eax, dword [0x44e514]
mov eax, dword [eax]
mov ecx, dword [eax + 0x1c]
mov edx, dword [edi + 0x30]
mov eax, dword [ebp - 0x34]
call fcn.0045117c
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0x34]
call fcn.00404c28
mov al, byte [0x427530]
push eax
push 0
lea eax, [ebp - 0x80]
push eax
mov eax, dword [0x44e514]
mov eax, dword [eax]
mov ecx, dword [eax + 0x28]
mov edx, dword [edi + 0x34]
mov eax, dword [ebp - 0x34]
call fcn.0045117c
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x34]
call fcn.00404c28
mov al, byte [0x427530]
push eax
push 0
lea eax, [ebp - 0x84]
push eax
mov eax, dword [0x44e514]
mov eax, dword [eax]
mov ecx, dword [eax + 0x44]
mov edx, dword [edi + 0x38]
mov eax, dword [ebp - 0x34]
call fcn.0045117c
mov edx, dword [ebp - 0x84]
lea eax, [ebp - 0x34]
call fcn.00404c28
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x34]
call fcn.00404c28
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 0x34]
call fcn.00409288
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 0x34]
call fcn.00404c28
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
lea ebx, [eax + 8]
cmp dword [ebp - 8], 0
je 0x4d7330
xor ebx, ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xb0]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x4d6d6b
inc edi
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xb0]
mov edx, dword [ebp - 0x10]
call fcn.0041a9cc
mov al, byte [eax + 0x40]
cmp al, byte [ebp - 0x39]
jne 0x4d6d65
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xb0]
mov edx, dword [ebp - 0x10]
call fcn.0041a9cc
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x34]
call fcn.00404f44
jne 0x4d6d65
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xb0]
mov edx, dword [ebp - 0x10]
call fcn.0041a9cc
mov ebx, eax
jmp 0x4d6d6b
inc dword [ebp - 0x10]
dec edi
jne 0x4d6d19
test ebx, ebx
jne 0x4d7330
mov edx, dword [0x41e230]
mov eax, 0xb8
call fcn.00405634
mov ebx, eax
mov edx, 0xb8
mov eax, ebx
call fcn.00407cc4
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xb0]
mov edx, ebx
call fcn.0041a870
mov eax, dword [ebp - 0x28]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx], eax
lea eax, [ebx + 8]
mov edx, dword [ebp - 0x34]
call fcn.00404c04
lea eax, [ebx + 0xc]
mov edx, dword [ebp - 0x38]
call fcn.00404c04
mov al, byte [ebp - 0x39]
mov byte [ebx + 0x40], al
mov eax, dword [ebp + 0xc]
xor edx, edx
call fcn.00404f44
je 0x4d6df0
lea edx, [ebp - 0x8c]
mov eax, dword [ebp + 0xc]
call fcn.004514c8
mov edx, dword [ebp - 0x8c]
lea eax, [ebp + 0xc]
call fcn.00404c28
lea eax, [ebp - 0x94]
mov ecx, dword [ebx + 8]
mov edx, dword [ebp + 0xc]
call fcn.00404e94
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x90]
call fcn.00409288
mov edx, dword [ebp - 0x90]
lea eax, [ebx + 0x10]
call fcn.00404c04
lea edx, [ebp - 0x98]
mov eax, dword [ebx + 0x10]
call fcn.004dd268
mov ecx, dword [ebp - 0x98]
mov dl, 1
mov eax, dword [0x42d0c4]
call fcn.004dd7b4
mov dword [ebx + 0x38], eax
lea edx, [ebp - 0x9c]
mov eax, dword [ebx + 0x10]
call fcn.004dd494
mov ecx, dword [ebp - 0x9c]
mov dl, 1
mov eax, dword [0x42d0c4]
call fcn.004dd7b4
mov dword [ebx + 0x3c], eax
mov al, byte [ebx + 0x40]
cmp al, 2
jne 0x4d6f0f
push 0x42753c
mov eax, 0x100000
call fcn.00402f54
lea ecx, [ebp - 0xa8]
mov edx, 5
call fcn.004099ac
push dword [ebp - 0xa8]
push 0x427548
lea eax, [ebp - 0xa4]
mov edx, 3
call fcn.0040483c
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 0xa0]
call fcn.00404d9c
mov eax, dword [ebp - 0xa0]
lea edx, [ebp - 0x24]
call fcn.00409288
lea edx, [ebp - 0xb0]
mov eax, dword [ebx + 0x10]
call fcn.004515bc
mov eax, dword [ebp - 0xb0]
lea edx, [ebp - 0xac]
call fcn.004514c8
lea eax, [ebp - 0xac]
mov edx, dword [ebp - 0x24]
call fcn.00404e34
mov eax, dword [ebp - 0xac]
call fcn.0045176c
test al, al
jne 0x4d6e71
jmp 0x4d7033
sub al, 1
je 0x4d6f1b
sub al, 2
jne 0x4d7033
call fcn.0040b98c
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0xb8]
call fcn.004d6898
mov eax, dword [ebp - 0xb8]
mov dword [ebx + 0x68], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebx + 0x6c], eax
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x80], eax
mov eax, dword [ebx + 0x6c]
mov dword [ebx + 0x84], eax
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x78], eax
mov eax, dword [ebx + 0x6c]
mov dword [ebx + 0x7c], eax
mov eax, dword [ebx + 0x68]
mov dword [ebx + 0x70], eax
mov eax, dword [ebx + 0x6c]
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x10
mov eax, 0x100000
call fcn.00402f54
lea ecx, [ebp - 0xc4]
mov edx, 5
call fcn.004099ac
mov ecx, dword [ebp - 0xc4]
lea eax, [ebp - 0xc0]
mov edx, 0x42753c
call fcn.004047c8
mov edx, dword [ebp - 0xc0]
lea eax, [ebp - 0xbc]
call fcn.00404d9c
mov eax, dword [ebp - 0xbc]
lea edx, [ebp - 0x24]
call fcn.00409288
lea edx, [ebp - 0xd0]
mov eax, dword [ebx + 0x10]
call fcn.00451518
mov eax, dword [ebp - 0xd0]
lea edx, [ebp - 0xcc]
call fcn.004515bc
mov eax, dword [ebp - 0xcc]
lea edx, [ebp - 0xc8]
call fcn.004514c8
lea eax, [ebp - 0xc8]
mov edx, dword [ebp - 0x24]
call fcn.00404e34
mov eax, dword [ebp - 0xc8]
call fcn.00451758
test al, al
jne 0x4d6f75
mov eax, dword [ebp - 0x24]
call fcn.00404e28
add eax, eax
push eax
mov eax, dword [ebp - 0x24]
call fcn.00404e18
mov edx, eax
lea eax, [ebx + 0x14]
pop ecx
call fcn.00407cbc
mov al, byte [ebx + 0x40]
dec eax
sub al, 3
jae 0x4d72e8
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + 8]
xor edx, edx
call fcn.00404f44
je 0x4d72e8
mov byte [ebp - 0x3a], 0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x110]
call fcn.00405a3c
mov edi, eax
dec edi
test edi, edi
jl 0x4d71e9
inc edi
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x110]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*8]
lea edx, [ebp - 0xd4]
call fcn.00409288
mov edx, dword [ebp - 0xd4]
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + 8]
call fcn.00404f44
jne 0x4d71df
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x110]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*8 + 4]
lea edx, [ebp - 0x24]
call fcn.004514c8
mov eax, dword [ebx + 0x38]
call fcn.004dd714
dec eax
test eax, eax
jl 0x4d712d
inc eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xe0]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x38]
call fcn.004dd6f4
mov ecx, dword [ebp - 0xe0]
lea eax, [ebp - 0xdc]
mov edx, dword [ebp - 0x24]
call fcn.00404e94
mov eax, dword [ebp - 0xdc]
lea edx, [ebp - 0xd8]
call fcn.004514c8
mov edx, dword [ebp - 0xd8]
lea eax, [ebp - 0x24]
call fcn.00404c28
inc dword [ebp - 0x18]
dec dword [ebp - 0x48]
jne 0x4d70e1
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x24]
call fcn.00404c04
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x42d0c4]
call fcn.004dd7b4
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x110]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*8 + 4]
lea edx, [ebp - 0x24]
call fcn.004514c8
mov eax, dword [ebx + 0x3c]
call fcn.004dd714
dec eax
test eax, eax
jl 0x4d71c9
inc eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xec]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x3c]
call fcn.004dd6f4
mov ecx, dword [ebp - 0xec]
lea eax, [ebp - 0xe8]
mov edx, dword [ebp - 0x24]
call fcn.00404e94
mov eax, dword [ebp - 0xe8]
lea edx, [ebp - 0xe4]
call fcn.004514c8
mov edx, dword [ebp - 0xe4]
lea eax, [ebp - 0x24]
call fcn.00404c28
inc dword [ebp - 0x18]
dec dword [ebp - 0x48]
jne 0x4d717d
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x42d0c4]
call fcn.004dd7b4
mov dword [ebx + 0x34], eax
mov byte [ebp - 0x3a], 1
inc dword [ebp - 0x14]
dec edi
jne 0x4d707a
cmp byte [ebp - 0x3a], 0
jne 0x4d72e8
push 0
push 0
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebx + 0x38]
mov eax, dword [eax + 8]
call fcn.00404e18
push eax
call fcn.00452118
movzx ecx, word [ebp - 0x44]
shr ecx, 1
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x40]
call fcn.00404cbc
lea edx, [ebp - 0xf4]
mov eax, dword [ebp - 0x24]
call fcn.00409288
mov eax, dword [ebp - 0xf4]
lea edx, [ebp - 0xf0]
call fcn.004514c8
mov edx, dword [ebp - 0xf0]
lea eax, [ebp - 0x24]
call fcn.00404c28
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x110]
call fcn.00405a3c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
inc eax
push eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
add eax, 0x110
mov ecx, 1
mov edx, dword [0x41e324]
call fcn.00405c18
add esp, 4
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x110]
mov edx, dword [ebp - 0x14]
lea eax, [eax + edx*8]
mov edx, dword [ebx + 0x38]
mov edx, dword [edx + 8]
call fcn.00404c04
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x110]
mov edx, dword [ebp - 0x14]
lea eax, [eax + edx*8 + 4]
mov edx, dword [ebp - 0x24]
call fcn.00404c04
lea eax, [ebx + 0x2c]
mov edx, dword [ebp - 0x24]
call fcn.00404c04
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x42d0c4]
call fcn.004dd7b4
mov dword [ebx + 0x30], eax
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x42d0c4]
call fcn.004dd7b4
mov dword [ebx + 0x34], eax
mov dl, 1
mov eax, dword [0x3680fc]
call fcn.00403568
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x3680fc]
call fcn.00403568
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x3680fc]
call fcn.00403568
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x3680fc]
call fcn.00403568
mov dword [ebx + 0xb0], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0xac], eax
cmp byte [ebx + 0x40], 2
jne 0x4d7469
mov al, byte [esi]
mov byte [ebx + 0x51], al
inc esi
mov al, byte [esi]
mov byte [ebx + 0x50], al
inc esi
mov eax, dword [esi]
mov dword [ebx + 0x58], eax
mov eax, dword [esi + 4]
mov dword [ebx + 0x5c], eax
add esi, 8
mov edx, 0x1000
mov eax, dword [ebx + 0x58]
call fcn.004ce918
xor edx, edx
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x64], edx
push dword [esi + 4]
push dword [esi]
lea eax, [ebp - 0xb8]
call fcn.004d6898
mov eax, dword [ebp - 0xb8]
mov dword [ebx + 0x68], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebx + 0x6c], eax
add esi, 8
push dword [esi + 4]
push dword [esi]
lea eax, [ebp - 0xb8]
call fcn.004d6898
mov eax, dword [ebp - 0xb8]
mov dword [ebx + 0x80], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebx + 0x84], eax
add esi, 8
push dword [esi + 4]
push dword [esi]
lea eax, [ebp - 0xb8]
call fcn.004d6898
mov eax, dword [ebp - 0xb8]
mov dword [ebx + 0x78], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebx + 0x7c], eax
add esi, 8
mov eax, dword [ebx + 0x78]
mov dword [ebx + 0x70], eax
mov eax, dword [ebx + 0x7c]
mov dword [ebx + 0x74], eax
mov eax, dword [esi]
mov dword [ebx + 0x4c], eax
add esi, 4
mov al, byte [esi]
mov byte [ebx + 0x88], al
inc esi
lea eax, [ebx + 0x8c]
mov edx, esi
call fcn.00404d20
mov eax, dword [ebx + 0x8c]
call fcn.00404e28
add eax, eax
add eax, 2
add esi, eax
mov eax, dword [esi]
mov dword [ebx + 0xa4], eax
add esi, 4
xor eax, eax
mov dword [ebx + 0x9c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0xa8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebx + 0xa0], eax
push 1
push 0
mov eax, dword [ebx + 0xa4]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004072c0
mov eax, dword [ebp + 8]
mov edx, dword [ebx + 0xa4]
add dword [eax], edx
mov eax, dword [ebp - 0x20]
call fcn.00402ab0
mov edi, dword [ebp - 0x30]
dec edi
test edi, edi
jl 0x4d7497
inc edi
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebx + 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004d691c
pop ecx
dec edi
jne 0x4d747a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x427524
lea eax, [ebp - 0xf4]
mov edx, 0xc
call fcn.00404be0
lea eax, [ebp - 0xc4]
mov edx, 2
call fcn.004044d0
lea eax, [ebp - 0xbc]
call fcn.00404bc8
lea eax, [ebp - 0xb0]
mov edx, 2
call fcn.00404be0
lea eax, [ebp - 0xa8]
mov edx, 2
call fcn.004044d0
lea eax, [ebp - 0xa0]
mov edx, 0x16
call fcn.00404be0
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00404be0
lea eax, [ebp - 0x24]
call fcn.00404bc8
lea eax, [ebp + 0xc]
call fcn.00404bc8
ret