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

Disassembly:
push 0x5c
mov eax, 0x449a2e
call fcn.00446bc9
mov dword [ebp - 0x14], edx
mov esi, ecx
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x10], edi
cmp dword [ebx + 4], edi
jbe 0x422f75
mov eax, dword [ebx]
mov eax, dword [eax + edi*4]
mov dword [ebp + 8], eax
lea edi, [eax + 0x78]
cmp dword [edi + 4], 0
jne 0x422df4
cmp dword [edi + 8], 0
jne 0x422df4
cmp byte [edi + 2], 0
jne 0x422dd8
cmp byte [edi], 0
jne 0x422df4
cmp byte [edi + 1], 0
jne 0x422df4
cmp dword [edi + 0x1c], 0
jne 0x422df4
cmp dword [edi + 0x28], 0
jne 0x422df4
cmp dword [edi + 0xc], 0
jl 0x422f65
cmp dword [esi + 4], 0
jne 0x422e0e
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004096d5
mov ecx, esi
call fcn.004096ad
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x10], 0
je 0x422e26
add eax, 0x18
mov ecx, esi
push eax
call fcn.0040971c
mov ecx, esi
call fcn.004096ad
mov edx, edi
mov ecx, esi
call fcn.00422c02
cmp dword [edi + 0xc], 0
jl 0x422f65
push 0x451504
push 0x49
pop edx
lea ecx, [ebp - 0x44]
call fcn.00426080
and dword [ebp - 4], 0
mov ecx, esi
push eax
call fcn.0040971c
mov ecx, esi
call fcn.004096ad
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x44]
call fcn.0043940f
pop ecx
mov ecx, dword [edi + 0xc]
mov edi, dword [ebp + 8]
cmp dword [edi + 0x3c], ecx
jne 0x422ea8
mov edx, 0xbcb
lea ecx, [ebp - 0x38]
call fcn.00420683
push eax
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.0040971c
mov ecx, esi
call fcn.004096ad
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x38]
call fcn.0043940f
jmp 0x422f64
test ecx, ecx
jns 0x422eb3
mov edx, 0x4514e0
jmp 0x422ebf
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4]
mov edx, dword [eax + 0x10]
lea ecx, [ebp - 0x20]
call fcn.00422d41
push eax
mov edx, 0xbc9
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.004233b5
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0040971c
mov ecx, esi
call fcn.004096ad
push dword [ebp - 0x2c]
call fcn.0043940f
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x20]
call fcn.0043940f
pop ecx
pop ecx
mov ecx, dword [edi + 0x3c]
test ecx, ecx
jns 0x422f13
mov edx, 0x4514e0
jmp 0x422f1f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4]
mov edx, dword [eax + 0x10]
lea ecx, [ebp - 0x5c]
call fcn.00422d41
push eax
mov edx, 0xbca
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x50]
call fcn.004233b5
push eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.0040971c
mov ecx, esi
call fcn.004096ad
push dword [ebp - 0x50]
call fcn.0043940f
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x5c]
call fcn.0043940f
pop ecx
pop ecx
mov edi, dword [ebp - 0x10]
inc edi
mov dword [ebp - 0x10], edi
cmp edi, dword [ebx + 4]
jb 0x422db6
cmp dword [ebx + 0x3c], 0
mov edi, dword [ebp + 0x10]
push 0xa
pop edx
jge 0x422f89
test edi, edi
je 0x423112
push dword [ebp + 0xc]
mov ecx, esi
call fcn.004096d5
mov ecx, esi
call fcn.004096ad
cmp dword [ebx + 4], 0
je 0x422fb2
lea eax, [ebx + 0x24]
mov ecx, esi
push eax
call fcn.0040971c
mov ecx, esi
call fcn.004096ad
cmp dword [ebx + 0x3c], 0
jge 0x422fe7
cmp edi, 1
je 0x422fe7
mov edx, edi
lea ecx, [ebp - 0x68]
call fcn.00426051
push eax
mov ecx, esi
mov dword [ebp - 4], 0xd
call fcn.0040971c
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x68]
call fcn.0043940f
jmp 0x4230fd
lea ecx, [ebp - 0x2c]
mov edi, 0xbbd
call fcn.004093d0
mov dword [ebp - 4], 6
cmp byte [ebx + 0x21], 0
je 0x423004
inc edi
jmp 0x42303e
mov ecx, dword [ebx + 0x3c]
test ecx, ecx
js 0x42303e
mov eax, dword [ebp - 0x14]
mov edi, 0xbc9
mov eax, dword [eax + 8]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x68]
mov edx, dword [eax + 0x10]
call fcn.00422d41
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call fcn.00409516
mov byte [ebp - 4], 6
push dword [ebp - 0x68]
call fcn.0043940f
pop ecx
lea eax, [ebp - 0x2c]
mov edx, edi
push eax
lea ecx, [ebp - 0x20]
call fcn.004233b5
mov edi, 0x451518
mov byte [ebp - 4], 8
push edi
lea ecx, [ebp - 0x44]
call fcn.004093f4
push 0x45151c
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
call fcn.004093f4
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x20]
call fcn.004098ff
push dword [ebp - 0x38]
call fcn.0043940f
mov byte [ebp - 4], 8
push dword [ebp - 0x44]
call fcn.0043940f
pop ecx
pop ecx
push edi
lea ecx, [ebp - 0x38]
call fcn.004093f4
push 0x451524
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xb
call fcn.004093f4
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x20]
call fcn.004098ff
push dword [ebp - 0x44]
call fcn.0043940f
mov byte [ebp - 4], 8
push dword [ebp - 0x38]
call fcn.0043940f
pop ecx
pop ecx
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.0040971c
push dword [ebp - 0x20]
call fcn.0043940f
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x2c]
call fcn.0043940f
pop ecx
pop ecx
mov ecx, esi
call fcn.004096ad
lea edx, [ebx + 0x30]
mov ecx, esi
call fcn.00422c02
push 0xa
pop edx
mov eax, dword [esi + 4]
test eax, eax
je 0x42312c
mov ecx, dword [esi]
cmp word [ecx + eax*2 - 2], dx
jne 0x42312c
dec eax
xor edx, edx
mov dword [esi + 4], eax
mov word [ecx + eax*2], dx
call fcn.00446b92
ret 0xc