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

Disassembly:
push ecx
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov ecx, 0x60
lea edi, [ebx + 0x1ac]
xor eax, eax
rep stosd dword es:[edi], eax
lea esi, [ebx + 0x158]
mov ecx, esi
call fcn.004631c0
test eax, eax
je 0x521303
push 0
mov ecx, esi
call fcn.004632b0
push eax
mov ecx, esi
call fcn.00463150
mov ecx, esi
call fcn.004631c0
test eax, eax
jne 0x5212e7
mov eax, dword [esp + 0x18]
mov ecx, ebx
push eax
call fcn.00521650
mov ecx, esi
call fcn.004631c0
push eax
push str.MatchList_size:__d:_n
call fcn.004f07d0
add esp, 8
mov ecx, esi
call fcn.004631c0
cmp eax, 3
jl 0x521635
mov ecx, esi
mov dword [ebx + 0x32c], 0xc
xor edi, edi
call fcn.004631c0
test eax, eax
jle 0x521374
push edi
mov ecx, esi
call fcn.004632b0
mov ecx, dword [ebx + 0x32c]
mov eax, dword [eax + 0x38]
cmp ecx, eax
jge 0x521362
mov eax, ecx
mov ecx, esi
mov dword [ebx + 0x32c], eax
inc edi
call fcn.004631c0
cmp edi, eax
jl 0x52134b
mov ecx, ebx
call fcn.005217e0
lea ebp, [ebx + 0x144]
mov ecx, ebp
call fcn.004631c0
test eax, eax
je 0x5213bc
push 0
mov ecx, ebp
call fcn.004632b0
mov edi, eax
mov ecx, edi
call fcn.004b5e90
sub eax, 0xc
mov ecx, edi
push eax
call fcn.004b5e40
push edi
mov ecx, ebp
call fcn.00463150
mov ecx, ebp
call fcn.004631c0
test eax, eax
jne 0x52138c
mov ecx, dword [0x586bac]
call fcn.00441690
test eax, eax
je 0x52140a
push 0x64
call fcn.004d8630
add esp, 4
test eax, eax
je 0x5213fa
lea ecx, [ebx + 0x16c]
push ecx
push esi
push ebx
mov ecx, eax
call fcn.00524b60
push eax
lea ecx, [ebx + 0xdc]
call fcn.004630d0
jmp 0x52147a
xor eax, eax
lea ecx, [ebx + 0xdc]
push eax
call fcn.004630d0
jmp 0x52147a
mov ecx, esi
lea edi, [ebx + 0x16c]
call fcn.004631c0
mov edx, eax
mov ecx, edi
mov dword [esp + 0x18], edx
call fcn.004631c0
mov edx, dword [esp + 0x18]
mov ecx, dword [0x586bac]
lea eax, [edx + eax - 3]
push eax
mov eax, dword [ebx + 0x128]
push eax
call fcn.00442030
mov ecx, dword [ebx + 0xf8]
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xfa3
call fcn.004b8aa0
lea ecx, [ebx + 0x16c]
call fcn.004631c0
test eax, eax
je 0x52147a
mov ecx, dword [ebx + 0xfc]
push 0xffffffffffffffff
push 0
push 0xffffffffffffffff
push 0xfa4
call fcn.004b8aa0
mov ecx, esi
call fcn.004631c0
test eax, eax
je 0x5214ce
push 0
mov ecx, esi
call fcn.004632b0
mov ecx, dword [0x586bac]
mov edi, eax
call fcn.00441690
test eax, eax
jne 0x5214b4
mov ecx, dword [edi + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov ecx, dword [edi + 0x3c]
test ecx, ecx
je 0x5214b4
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, edi
call fcn.00523310
push edi
mov ecx, esi
call fcn.00463150
mov ecx, esi
call fcn.004631c0
test eax, eax
jne 0x521485
lea edi, [ebx + 0x16c]
mov ecx, edi
call fcn.004631c0
test eax, eax
je 0x521528
push 0
mov ecx, edi
call fcn.004632b0
mov ecx, dword [0x586bac]
mov esi, eax
call fcn.00441690
test eax, eax
jne 0x52150e
mov ecx, dword [esi + 0x3c]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x52150e
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, esi
call fcn.00523310
push esi
mov ecx, edi
call fcn.00463150
mov ecx, edi
call fcn.004631c0
test eax, eax
jne 0x5214df
mov ecx, ebp
call fcn.004631c0
test eax, eax
je 0x521563
push 0
mov ecx, ebp
call fcn.004632b0
mov esi, eax
mov ecx, esi
call fcn.004b5e90
sub eax, 0xc
mov ecx, esi
push eax
call fcn.004b5e40
push esi
mov ecx, ebp
call fcn.00463150
mov ecx, ebp
call fcn.004631c0
test eax, eax
jne 0x521533
mov eax, dword [ebx + 0x88]
test eax, eax
je 0x52157b
mov ecx, dword [eax + 0x84]
push ecx
mov ecx, ebx
call fcn.005211e0
mov eax, dword [ebx + 0xcc]
test eax, eax
jne 0x521635
mov eax, dword [ebx + 0x34c]
test eax, eax
je 0x521635
mov ecx, dword [ebx + 0x98]
mov edx, dword [ecx]
call dword [edx + 0x14]
mov edx, dword [ebx + 0x14]
mov ecx, dword [ebx + 0x98]
add edx, 0x16e
mov eax, dword [ecx]
push edx
mov edx, dword [ebx + 0x10]
add edx, 0x81
push edx
call dword [eax + 0x28]
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
mov ecx, dword [ebx + 0x194]
call fcn.004f2700
mov edx, dword [ebx + 0x98]
push 0x58
mov dword [edx + 0x98], 0
call fcn.004d8630
add esp, 4
test eax, eax
je 0x521627
push 0
lea ecx, [ebx + 0x78]
sub esp, 0x10
mov esi, dword [ecx]
mov edx, esp
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov dword [edx + 4], esi
mov esi, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [edx + 8], esi
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
push edx
push ecx
mov ecx, eax
call fcn.004db9a0
jmp 0x521629
xor eax, eax
mov ecx, dword [ebx + 0x98]
push eax
call fcn.00485230
pop edi
pop esi
mov dword [ebx + 0xcc], 0
pop ebp
pop ebx
pop ecx
ret 8