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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x3c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x4c]
xor ebx, ebx
cmp eax, ebx
push edi
jl 0x424c6f
cmp eax, dword [0x1009674]
jge 0x424c6f
mov edi, dword [0x1009678]
imul eax, eax, 0x10c
add eax, edi
cmp word [eax], bx
je 0x424c6f
cmp dword [eax + 0x30], ebx
je 0x424c6f
cmp word [eax + 0x22], bx
je 0x424c6f
cmp eax, ebx
jne 0x424c7b
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0x10
lea edi, [edx - 1]
inc edx
cmp edi, ebx
lea ebp, [ecx + 1]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], edx
lea eax, [ecx - 1]
mov dword [esp + 0x14], ebp
jge 0x424c9b
xor edi, edi
mov dword [esp + 0x28], edi
mov ecx, dword [esi + 0x2c]
cmp edx, ecx
jl 0x424ca9
lea edx, [ecx - 1]
mov dword [esp + 0x24], edx
cmp eax, ebx
jge 0x424caf
xor eax, eax
mov ecx, dword [esi + 0x30]
cmp ebp, ecx
jl 0x424cbb
dec ecx
mov dword [esp + 0x14], ecx
cmp eax, dword [esp + 0x14]
mov ebp, eax
mov dword [esp + 0x1c], eax
jg 0x4250ca
jmp 0x424cd0
cmp edi, edx
mov dword [esp + 0x18], edi
jg 0x42508c
imul edi, edi, 0x124
mov dword [esp + 0x20], edi
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + ebp*4]
lea edx, [ecx + edi + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + ebp*4]
mov edx, dword [ecx + edi + 0x2c]
mov eax, dword [edx + 0x78]
lea ecx, [ecx + edi + 0x2c]
cmp eax, ebx
je 0x424d11
lea esi, [eax - 0x74]
jmp 0x424d13
xor esi, esi
mov dword [ecx + 4], esi
cmp esi, edx
je 0x425054
cmp esi, ebx
je 0x425054
cmp dword [esi + 0x70], ebx
je 0x424d9c
cmp dword [esi + 0x6c], ebx
jne 0x424d34
xor eax, eax
jmp 0x424da2
mov eax, dword [esi + 0x68]
mov edi, dword [esi + 0x6c]
add edi, eax
cmp eax, edi
jbe 0x424d45
call fcn.0051b1ad
mov ebp, dword [esi + 0x50]
mov ebx, ebp
mov dword [esp + 0x34], edi
test ebp, ebp
jne 0x424d6f
call fcn.0051b1ad
xor eax, eax
xor ecx, ecx
mov edx, dword [ecx + 0x1c]
add edx, dword [eax + 0x18]
dec edi
cmp edi, edx
ja 0x424d7d
test ebp, ebp
je 0x424d76
mov ebp, dword [ebp]
jmp 0x424d78
mov eax, dword [ebp]
mov ecx, eax
jmp 0x424d5b
xor ebp, ebp
cmp edi, dword [ebp + 0x18]
jae 0x424d82
call fcn.0051b1ad
lea eax, [esp + 0x40]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], edi
call fcn.00425b90
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
xor ebx, ebx
jmp 0x424da2
mov eax, dword [esi + 0x1a8]
cmp eax, 2
je 0x42501d
movzx ecx, word [esi + 0x2a4]
cmp ecx, dword [esp + 0x54]
jne 0x42501d
mov eax, dword [esp + 0x5c]
fld dword [esi + 0x7c]
fsub dword [eax]
push ecx
fstp dword [esp + 0x34]
fld dword [esi + 0x84]
fsub dword [eax + 8]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fld dword [esp + 0x34]
fmul st(0), st(0)
fld st(1)
fmulp st(2)
faddp st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fstp dword [esp]
call fcn.0041b8a0
fcomp dword [0x574158]
add esp, 4
fnstsw ax
test ah, 0x41
jp 0x42501d
mov ebp, dword [esp + 0x50]
mov eax, esi
mov edi, ebp
call fcn.0041cf50
mov ecx, dword [esi + 0x90]
mov eax, dword [ebp + 0x34]
imul ecx, ecx, 0x124
mov edx, dword [esi + 0x94]
mov edx, dword [eax + edx*4]
mov eax, dword [edx + ecx + 0x30]
cmp dword [edx + ecx + 0x2c], eax
lea ecx, [edx + ecx + 0x2c]
je 0x424e71
mov edx, dword [eax + 0x74]
cmp edx, ebx
je 0x424e4a
add edx, 0xffffff8c
jmp 0x424e4c
xor edx, edx
mov dword [ecx + 4], edx
mov edx, dword [eax + 0x74]
cmp edx, ebx
je 0x424e6e
mov edi, dword [eax + 0x78]
cmp edi, ebx
je 0x424e6e
mov dword [edx + 4], edi
mov edx, dword [eax + 0x78]
mov edi, dword [eax + 0x74]
mov dword [edx], edi
mov dword [eax + 0x78], ebx
mov dword [eax + 0x74], ebx
dec dword [ecx + 0x20]
mov ecx, dword [esi + 0x88]
push 6
lea edx, [esp + 0x3c]
mov eax, 0x602
push edx
mov word [esp + 0x40], ax
mov eax, dword [esi + 0x94]
mov dword [esp + 0x42], ecx
mov ecx, dword [esi + 0x90]
push ebp
mov dword [esi + 0x8c], ebx
call fcn.00427470
mov eax, dword [esi + 0xd10]
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
cmp eax, ebx
je 0x424f95
mov ecx, dword [eax + 8]
cmp ecx, dword [eax + 4]
jne 0x424ede
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0xd4]
add eax, dword [edx + 0x6c]
mov ecx, dword [esi + 0xd10]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0xd10]
dec dword [eax + 8]
mov eax, dword [esi + 0xd10]
cmp byte [eax + 0x14], 0
je 0x424f2e
mov edx, dword [eax]
cmp edx, ebx
mov ecx, dword [ebp + 0x28]
jl 0x424f95
cmp edx, dword [ecx + 0x200]
jg 0x424f95
mov eax, edx
imul eax, eax, 0x70
add eax, dword [ecx + 0x204]
cmp eax, ebx
je 0x424f95
push 1
push edx
mov edx, dword [eax + 4]
push edx
push esi
call fcn.00430cb0
jmp 0x424f95
mov ecx, dword [eax + 0x18]
cmp ecx, ebx
je 0x424f5a
mov edi, dword [ecx + 0x54]
cmp edi, ebx
je 0x424f95
mov edx, dword [ecx + 0x14]
xor eax, eax
cmp edx, ebx
jle 0x424f95
mov ecx, edi
cmp dword [ecx], esi
je 0x424f55
inc eax
add ecx, 4
cmp eax, edx
jl 0x424f47
jmp 0x424f95
mov dword [edi + eax*4], ebx
jmp 0x424f95
cmp byte [eax + 0x1c], 0
je 0x424f6a
mov edx, dword [eax]
push ebp
call fcn.00422a90
jmp 0x424f95
mov eax, dword [eax + 0x20]
cmp eax, ebx
je 0x424f95
mov edi, dword [eax + 0x14]
xor ecx, ecx
cmp edi, ebx
jle 0x424f95
lea edx, [eax + 0xbc]
cmp dword [edx], esi
je 0x424f8e
inc ecx
add edx, 4
cmp ecx, edi
jl 0x424f80
jmp 0x424f95
mov dword [eax + ecx*4 + 0xbc], ebx
mov ebp, dword [0x587964]
lea edi, [esi + 0xd8]
call fcn.004a7890
cmp dword [esi + 0x70], ebx
je 0x424fb5
lea ebx, [esi + 4]
call fcn.004a3e70
xor ebx, ebx
cmp dword [esi + 0x308], ebx
je 0x424fc9
mov dword [esi + 0x308], ebx
mov dword [esi + 0x314], ebx
mov eax, dword [esi + 0x300]
cmp eax, ebx
je 0x424fe2
push eax
call fcn.0050b940
add esp, 4
mov dword [esi + 0x300], ebx
lea edi, [ebp + 0x48]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x3c]
cmp eax, ebx
jne 0x424ffb
mov dword [ebp + 0x3c], esi
mov dword [esi + 0x78], ebx
jmp 0x425004
add eax, 0x74
mov dword [esi + 0x78], eax
mov dword [ebp + 0x3c], esi
mov esi, 1
add dword [ebp + 0x44], esi
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub dword [esp + 0x58], esi
je 0x4250a7
mov eax, dword [esp + 0x50]
mov ecx, dword [eax + 0x34]
mov ebp, dword [esp + 0x1c]
mov edx, dword [ecx + ebp*4]
mov edi, dword [esp + 0x20]
mov ecx, dword [edx + edi + 0x30]
mov ecx, dword [ecx + 0x78]
lea eax, [edx + edi + 0x2c]
cmp ecx, ebx
je 0x425043
lea esi, [ecx - 0x74]
jmp 0x425045
xor esi, esi
mov dword [eax + 4], esi
cmp esi, dword [eax]
je 0x425054
cmp esi, ebx
jne 0x424d26
mov esi, dword [esp + 0x50]
mov edx, dword [esi + 0x34]
mov eax, dword [edx + ebp*4]
lea ecx, [eax + edi + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
inc eax
add edi, 0x124
cmp eax, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edi
jle 0x424ce6
mov edi, dword [esp + 0x28]
inc ebp
cmp ebp, dword [esp + 0x14]
mov dword [esp + 0x1c], ebp
jle 0x424cd0
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0x10
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x50]
imul eax, eax, 0x124
mov ecx, dword [edx + 0x34]
mov edx, dword [esp + 0x1c]
mov ecx, dword [ecx + edx*4]
lea edx, [ecx + eax + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x3c
ret 0x10