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

Disassembly:
push 0xffffffffffffffff
push 0x4d2c68
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x51501c]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x51501c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [esp + 0x80]
mov ebx, edx
sub eax, ebx
mov edx, eax
mov eax, 0x78787879
imul edx
sar edx, 5
mov ebp, edx
mov dword [esp + 0x18], ecx
sub ecx, ebx
shr ebp, 0x1f
add ebp, edx
mov eax, 0x78787879
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
test ebp, ebp
mov eax, ecx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x14], eax
mov esi, ebp
je 0x421ca8
cdq
idiv esi
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x14]
test edx, edx
mov esi, edx
jne 0x421c97
cmp eax, ecx
jge 0x421e0c
test eax, eax
jle 0x421e0c
mov edi, ebp
shl edi, 4
add edi, ebp
add edi, edi
mov ecx, eax
add edi, edi
shl ecx, 4
add ecx, eax
mov dword [esp + 0x1c], edi
lea ebx, [ebx + ecx*4 + 0x20]
jmp 0x421cd8
mov edi, dword [esp + 0x1c]
lea esi, [ebx - 0x20]
push esi
lea ecx, [esp + 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov edx, dword [ebx - 4]
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esp + 0x44], edx
mov edx, dword [ebx + 8]
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x4c], ecx
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x50], edx
mov edx, dword [ebx + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 0x58], ecx
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x5c], edx
mov edx, dword [ebx + 0x20]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
lea edi, [edi + ebx - 0x20]
cmp edi, dword [esp + 0x18]
mov dword [esp + 0x78], 0
jne 0x421d41
mov edi, dword [esp + 0x20]
lea eax, [ebx - 0x20]
cmp edi, eax
je 0x421ddd
lea esp, [esp]
push edi
mov ecx, esi
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [edi + 0x1c]
mov dword [esi + 0x1c], ecx
mov ecx, edi
lea eax, [esi + 0x20]
sub ecx, esi
mov dword [esp + 0x24], 0x10
mov edi, edi
mov dl, byte [ecx + eax]
mov byte [eax], dl
add eax, 1
sub dword [esp + 0x24], 1
jne 0x421d70
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x34]
mov dword [esi + 0x34], ecx
mov edx, dword [edi + 0x38]
mov dword [esi + 0x38], edx
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x40], ecx
mov ecx, dword [esp + 0x18]
sub ecx, edi
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
mov esi, edi
jge 0x421dc0
add edi, dword [esp + 0x1c]
jmp 0x421dd2
mov ecx, ebp
sub ecx, eax
mov eax, dword [esp + 0x20]
mov edx, ecx
shl edx, 4
add edx, ecx
lea edi, [eax + edx*4]
lea eax, [ebx - 0x20]
cmp edi, eax
jne 0x421d50
lea edi, [esp + 0x28]
call fcn.00420fd0
mov ecx, edi
mov dword [esp + 0x78], 0xffffffff
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0x14]
sub eax, 1
sub ebx, 0x44
test eax, eax
mov dword [esp + 0x14], eax
jg 0x421cd4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.00459ea4
add esp, 0x68
ret