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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x118
mov eax, dword [0x51e080]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0xc], edi
mov eax, dword [edi + 0x2c]
shl eax, 2
push eax
push 0
push dword [edi + 0x38]
mov dword [edi + 0x30], 0
call fcn.004d6ed0
add esp, 0xc
xor esi, esi
push esi
lea eax, [esp + 0xf4]
push eax
call fcn.004ae980
mov edi, dword [edi + 0x30]
cmp edi, 0x48
jae 0x482f3b
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0xf8]
call fcn.00482400
add esp, 8
cmp dword [esp + 0x18], 0
jne 0x482f3b
mov eax, dword [esp + 0xc]
lea ecx, [edi + edi*8]
mov eax, dword [eax + 0x34]
lea edx, [eax + ecx*4]
lea eax, [edi + 1]
mov dword [esp + 0x18], edx
mov edi, dword [esp + 0xc]
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x1c]
lea ecx, [eax*4]
mov eax, dword [edi + 0x38]
mov eax, dword [ecx + eax]
mov dword [edx], eax
mov eax, dword [edi + 0x38]
mov dword [ecx + eax], edx
mov eax, dword [esp + 0xf0]
mov dword [edx + 4], eax
mov eax, dword [esp + 0xf4]
mov dword [edx + 8], eax
mov eax, dword [esp + 0xf8]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0xfc]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x100]
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x104]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x108]
mov dword [edx + 0x1c], eax
mov eax, dword [esp + 0x10c]
mov dword [edx + 0x20], eax
jmp 0x482f3f
mov edi, dword [esp + 0xc]
inc esi
cmp esi, 5
jb 0x482e73
push 0
push 0
lea eax, [esp + 0xf8]
push eax
call fcn.004aed30
mov esi, dword [edi + 0x30]
cmp esi, 0x48
jae 0x483000
lea eax, [esp + 0x1c]
mov ecx, edi
push eax
lea eax, [esp + 0x34]
push eax
lea edx, [esp + 0xf8]
call fcn.00482400
add esp, 8
cmp dword [esp + 0x1c], 0
jne 0x483000
mov eax, dword [edi + 0x34]
lea ecx, [esi + esi*8]
lea edx, [eax + ecx*4]
lea eax, [esi + 1]
mov dword [edi + 0x30], eax
mov eax, dword [esp + 0x30]
lea ecx, [eax*4]
mov eax, dword [edi + 0x38]
mov eax, dword [ecx + eax]
mov dword [edx], eax
mov eax, dword [edi + 0x38]
mov dword [ecx + eax], edx
mov eax, dword [esp + 0xf0]
mov dword [edx + 4], eax
mov eax, dword [esp + 0xf4]
mov dword [edx + 8], eax
mov eax, dword [esp + 0xf8]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0xfc]
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x100]
mov dword [edx + 0x14], eax
mov eax, dword [esp + 0x104]
mov dword [edx + 0x18], eax
mov eax, dword [esp + 0x108]
mov dword [edx + 0x1c], eax
mov eax, dword [esp + 0x10c]
mov dword [edx + 0x20], eax
mov edi, dword [edi + 8]
mov dword [esp + 0x24], edi
lea eax, [edi + 0xdc]
push eax
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0xc]
lea edx, [edi + 0x108]
xor esi, esi
mov ecx, dword [eax + 0x10]
add ecx, 0x10
nop word [eax + eax]
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x483044
inc esi
add ecx, 4
add edx, 4
cmp esi, 8
jb 0x483030
jmp 0x483053
mov ecx, dword [esp + 0xc]
lea edx, [edi + 0x108]
call fcn.00482460
mov eax, dword [esp + 0xc]
lea edx, [edi + 0x128]
xor esi, esi
mov ecx, dword [eax + 0x10]
add ecx, 0x10
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x483079
inc esi
add ecx, 4
add edx, 4
cmp esi, 8
jb 0x483065
jmp 0x483088
mov ecx, dword [esp + 0xc]
lea edx, [edi + 0x128]
call fcn.00482460
mov esi, dword [edi + 0x100]
test esi, esi
je 0x4831ba
cmp dword [esi + 4], 2
jne 0x4831b0
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [edx + 0x90]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0xb4]
lea edi, [esi + 0x1c]
mov ecx, dword [eax + 0x49c]
lea eax, [esp + 0x18]
push eax
push dword [edx + 0x9c]
lea eax, [edx + 0x10]
push eax
push edi
call fcn.004a73f0
test eax, eax
jne 0x483118
mov eax, dword [esp + 0xc]
push edi
push dword [esp + 0x1c]
mov ecx, dword [eax + 0x10]
push dword [ecx + 0x9c]
call fcn.004ace30
test eax, eax
jne 0x483118
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x9c]
cmp dword [ecx], 0
jne 0x483118
mov eax, dword [ecx + 4]
add ecx, 0x28
lea edx, [ecx + eax*2]
mov ecx, dword [esp + 0xc]
call fcn.00482460
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x30], 0x48
jae 0x4831ac
lea eax, [esp + 0x20]
mov edx, edi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00482400
add esp, 8
cmp dword [esp + 0x20], 0
jne 0x4831ac
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x30]
lea ecx, [eax + eax*8]
mov eax, dword [edx + 0x34]
lea edx, [eax + ecx*4]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], edx
inc dword [ecx + 0x30]
lea ecx, [eax*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x38]
mov eax, dword [ecx + eax]
mov dword [edx], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 0x38]
mov dword [ecx + eax], edx
mov eax, dword [edi]
mov dword [edx + 4], eax
mov eax, dword [edi + 4]
mov dword [edx + 8], eax
mov eax, dword [edi + 8]
mov dword [edx + 0xc], eax
mov eax, dword [edi + 0xc]
mov dword [edx + 0x10], eax
mov eax, dword [edi + 0x10]
mov dword [edx + 0x14], eax
mov eax, dword [edi + 0x14]
mov dword [edx + 0x18], eax
mov eax, dword [edi + 0x18]
mov dword [edx + 0x1c], eax
mov eax, dword [edi + 0x1c]
mov dword [edx + 0x20], eax
mov edi, dword [esp + 0x24]
mov esi, dword [esi]
test esi, esi
jne 0x483096
push dword [esp + 0x30]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esp + 0xc]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [eax + 0x24]
mov ecx, dword [ecx + 0x4c8]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x4c]
push eax
call fcn.0047acd0
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 4]
inc edi
mov dword [esp + 0x4c], edi
xorps xmm0, xmm0
mov edi, dword [esi + 0xc]
movaps xmmword [esp + 0xf0], xmm0
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x100], 0
mov dword [esp + 0x44], 0x10000
mov dword [esp + 0x1c], edi
cmp dword [eax + 0x20], 0
jne 0x483288
add edi, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
nop dword [eax]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + 0x30]
test byte [eax + 0x14], 0x20
je 0x483268
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x48327c
lea edx, [esp + 0x44]
push edx
push dword [esp + 0x40]
push eax
call fcn.004a7000
test eax, eax
je 0x4832a1
inc esi
cmp esi, 4
jbe 0x483240
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
pop edi
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004d3878
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esp + 0xc]
mov ecx, dword [esp + 0x44]
shr ecx, 5
mov dword [esp + 0x18], ecx
mov eax, dword [esi + 4]
mov edi, dword [eax + 0x1c]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x4835b8
jmp 0x4832d6
mov esi, dword [esp + 0xc]
test edi, edi
je 0x48331b
mov eax, dword [esi + 8]
mov esi, dword [eax + 0xc0]
lea eax, [esi + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x58]
mov ecx, esi
push eax
lea eax, [esp + 0x90]
push eax
push edi
call fcn.0042e500
lea eax, [esi + 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x58], 0
jne 0x4835a6
mov esi, dword [esp + 0xc]
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x38]
dec ecx
and ecx, dword [edi]
mov esi, dword [eax + ecx*4]
test esi, esi
je 0x483351
nop dword [eax + eax]
xor ecx, ecx
lea edx, [esi + 4]
mov eax, dword [edi + ecx*4]
cmp eax, dword [edx]
jne 0x4833ed
inc ecx
add edx, 4
cmp ecx, 8
jb 0x483335
test esi, esi
jne 0x4835a6
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 8]
mov esi, dword [eax + 0xbc]
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x98]
mov ecx, esi
push eax
push dword [esp + 0x14]
call fcn.0042ceb0
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
jne 0x4834ab
mov edx, dword [esp + 0xe4]
mov ecx, edx
cmp dword [esp + 0xec], edx
mov eax, dword [esp + 0xd8]
cmova ecx, dword [esp + 0xec]
mov esi, dword [esp + 0x14]
shr eax, 8
dec eax
movzx eax, al
mov dword [esi + 4], 1
mov dword [esi + 8], ecx
test eax, eax
je 0x48341c
cmp eax, 1
je 0x48341c
cmp eax, 2
je 0x48341c
cmp eax, 6
je 0x48341c
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x483403
cmp eax, 2
je 0x4833fc
dec eax
neg eax
sbb eax, eax
and eax, 4
jmp 0x483429
mov esi, dword [esi]
test esi, esi
jne 0x483330
jmp 0x483351
mov edi, 3
jmp 0x483408
mov edi, 2
test byte [esp + 0xcc], 0x20
je 0x48342f
mov edi, 1
mov dword [esi + 8], edx
jmp 0x48342f
xor eax, eax
cmp dword [esp + 0xa8], 2
sete al
mov dword [esp + 0x20], eax
mov edi, eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov esi, dword [eax + 0x4a8]
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x5c]
mov ecx, esi
push eax
lea eax, [esp + 0x94]
push eax
push dword [esp + 0x18]
push 0x20
push 0x77fc87de
call fcn.004088a0
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x48347b
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x48357e
cmp dword [eax + 0x68], 0
jne 0x48349c
cmp dword [eax + 0x6c], 3
je 0x48349c
cmp dword [eax + 0x70], 0
jne 0x48349c
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x48357e
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x483579
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov edi, dword [eax + 0x470]
lea esi, [edi + 8]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 0x48]
and ecx, 0x5aa01092
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x4834f4
nop dword [eax + eax]
cmp dword [eax + 8], 0x5aa01092
je 0x483668
mov eax, dword [eax + 4]
test eax, eax
jne 0x4834e0
mov eax, dword [edi]
mov ecx, edi
push 2
call dword [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov edi, dword [eax + 0x470]
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi + 0x40]
mov eax, dword [edi + 0x48]
and ecx, 0x7fa8011c
mov dword [esp + 0x1c], ecx
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x483554
nop word [eax + eax]
cmp dword [eax + 8], 0x7fa8011c
je 0x4836a9
mov eax, dword [eax + 4]
test eax, eax
jne 0x483540
mov eax, dword [edi]
mov ecx, edi
push 2
call dword [eax + 4]
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x14]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov edi, 4
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
mov eax, dword [esp + edi*4 + 0xf0]
mov dword [ecx + 0xc], eax
mov eax, ecx
mov dword [esp + edi*4 + 0xf0], eax
add eax, 0x10
mov edi, dword [esp + 0x10]
mov dword [esp + 0x14], eax
add edi, 0x20
sub dword [esp + 0x18], 1
mov dword [esp + 0x10], edi
jne 0x4832d2
mov eax, 4
mov dword [esp + 0x1c], eax
mov eax, dword [esp + eax*4 + 0xf0]
xor esi, esi
test eax, eax
je 0x483943
mov edi, dword [esp + 0x30]
mov dword [edi + esi*4], eax
inc esi
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4835d6
mov dword [esp + 0x74], esi
test esi, esi
je 0x483943
push 0x482e00
push 4
push esi
push edi
call fcn.004e2bb0
xor eax, eax
add esp, 0x10
mov dword [esp + 0x3c], eax
test esi, esi
je 0x483943
nop dword [eax]
mov ecx, dword [esp + 0xc]
mov eax, dword [edi + eax*4]
mov dword [esp + 0x10], eax
mov edi, dword [ecx + 0xc]
mov edx, dword [eax]
mov dword [esp + 0x18], edx
mov eax, dword [edi + 8]
cmp dword [eax + 0x20], 0
je 0x4836e9
mov edx, dword [esp + 0x10]
xorps xmm0, xmm0
xor eax, eax
movlpd qword [esp + 0x80], xmm0
mov esi, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
movlpd qword [esp + 0x78], xmm0
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x7c]
jmp 0x483813
test eax, eax
je 0x4834f4
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x20]
mov ecx, edi
push eax
push 0x20
push esi
push 0x5aa01092
call fcn.00404070
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x60], 0
je 0x483508
xor edi, edi
jmp 0x48357e
test eax, eax
je 0x483554
lea eax, [esp + 0x64]
mov ecx, edi
push eax
lea eax, [esp + 0x20]
push eax
push 0x20
push esi
push 0x7fa8011c
call fcn.00404070
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x64], 0
je 0x483567
mov edi, 1
jmp 0x48357e
lea eax, [edi + 0x14]
push eax
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xorps xmm0, xmm0
xor esi, esi
mov dword [esp + 0x20], esi
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x50], xmm0
nop dword [eax]
cmp esi, 1
ja 0x4837df
mov eax, dword [esp + 0x18]
inc esi
mov ecx, dword [edi + 0x30]
test eax, eax
je 0x48376b
push 0
lea edx, [esp + 0x6c]
push edx
lea edx, [esp + 0x9c]
push edx
push eax
push ecx
mov ecx, edi
call fcn.004a6960
test eax, eax
jne 0x483710
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4837df
mov ecx, dword [eax + 0x40]
mov edi, dword [eax + 0x48]
inc ecx
mov esi, dword [eax + 0x4c]
mov eax, dword [eax + 0x44]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], 0
jmp 0x4837f3
mov eax, dword [ecx + 0x14]
and al, 3
cmp al, 2
jne 0x4837df
mov eax, dword [ecx + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0x48], eax
test eax, eax
je 0x4837df
mov eax, dword [ecx + 0x38]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], edx
mov eax, dword [eax]
test eax, eax
je 0x4837cb
nop dword [eax + eax]
add edi, dword [eax + 0x48]
adc esi, dword [eax + 0x4c]
add edx, dword [eax + 0x44]
mov eax, dword [eax + 4]
adc ecx, 0
test eax, eax
jne 0x4837b0
mov dword [esp + 0x28], edx
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x18]
add eax, 4
sub dword [esp + 0x48], 1
mov dword [esp + 0x18], eax
jne 0x4837a5
jmp 0x4837f7
mov eax, dword [esp + 0x54]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], eax
push dword [esp + 0x40]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
mov eax, dword [edx]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
add edi, ecx
mov dword [esp + 0x14], edi
adc esi, eax
cmp dword [edx + 4], 0
mov dword [esp + 0x28], esi
je 0x4838c5
mov eax, dword [esp + 0xc]
mov eax, dword [eax + 8]
mov esi, dword [eax + 0xbc]
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [esp + 0x18]
mov ecx, esi
call fcn.00428410
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx + 8]
mov esi, dword [eax + 0xbc]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
test eax, eax
je 0x4838b9
mov eax, dword [esi + 0x70]
mov eax, dword [eax + 0x49c]
mov eax, dword [eax + 8]
cmp dword [eax + 0x20], 0
jne 0x4838b9
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x6c]
mov ecx, esi
push eax
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x48]
call fcn.004294b0
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x4838b2
push eax
push dword [esp + 0x74]
mov ecx, esi
call fcn.0042cfe0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0xc]
push ecx
push 0
push 0
push dword [edx]
mov ecx, dword [eax + 0xc]
call fcn.004a7df0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
cmp edx, eax
jbe 0x4838ee
sub edx, eax
mov dword [esp + 0x38], edx
mov eax, edx
jmp 0x4838f4
xor eax, eax
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x24]
cmp ecx, esi
jl 0x48390c
mov edx, dword [esp + 0x34]
jg 0x483906
cmp edx, edi
jbe 0x48390c
sub edx, edi
sbb ecx, esi
jmp 0x48391a
xorps xmm0, xmm0
movlpd qword [ebp + 8], xmm0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [esp + 0x34], edx
mov dword [esp + 0x24], ecx
test eax, eax
jne 0x48392c
mov eax, edx
or eax, ecx
je 0x48395c
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x30]
inc eax
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0x74]
jb 0x483610
mov eax, dword [esp + 0x1c]
sub eax, 1
mov dword [esp + 0x1c], eax
jns 0x4835c1
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x34]
mov edi, dword [esp + 0x4c]
cmp edi, 4
jg 0x483288
cmp dword [esp + 0x38], 0
mov esi, dword [esp + 0xc]
jne 0x4831f4
mov eax, edx
or eax, ecx
jne 0x4831f4
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
xor ecx, esp
call fcn.004d3878
mov esp, ebp
pop ebp
ret