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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x10]
push ebx
mov ebx, dword [eax]
mov eax, dword [eax + 0x14]
push esi
xor esi, esi
mov dword [esp + 0x24], eax
mov eax, 1
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], esi
cmp ebx, esi
je 0x421ab5
mov eax, dword [ebx + 8]
sub eax, dword [ebx + 0xc]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 4]
lea edi, [ebx + 8]
sar eax, 4
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x10]
mov esi, dword [eax + 0x60]
push ecx
mov dword [esp + 0x20], edi
call fcn.0042a950
mov edx, dword [eax]
mov ecx, dword [ebx + 8]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 8]
add dword [ebx + 8], 0x10
add esp, 4
cmp dword [ecx + 8], 0
jne 0x421a37
mov edx, dword [edi]
mov dword [edx + 8], 0
add dword [edi], 0x10
jmp 0x421c93
mov ebx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x60]
mov eax, ecx
mov eax, dword [eax + 0xc]
push eax
call fcn.0042a950
mov edx, dword [eax]
mov ecx, dword [edi]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
add dword [edi], 0x10
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov ebx, dword [edi]
mov esi, dword [ebx - 0x10]
add esp, 4
push eax
call fcn.0042a950
mov edx, dword [eax]
mov dword [ebx], edx
mov ecx, dword [eax + 4]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 8]
mov dword [ebx + 8], edx
add dword [edi], 0x10
mov ecx, dword [edi]
lea eax, [ecx - 0x10]
add esp, 4
cmp eax, ecx
jae 0x421aad
lea ecx, [eax - 0x10]
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [ecx + 0x18]
mov dword [ecx + 8], edx
add eax, 0x10
add ecx, 0x10
cmp eax, dword [edi]
jb 0x421a93
add dword [edi], 0xfffffff0
jmp 0x421c93
mov dword [esp + 0x30], eax
call fcn.00421140
mov edi, eax
cmp edi, esi
je 0x421ace
mov eax, dword [edi + 0x10]
mov dword [eax + 0x58], 0x4209b0
mov esi, dword [edi + 0x10]
push 0
xor ecx, ecx
xor eax, eax
mov ebx, edi
call fcn.0041d280
add esp, 4
mov esi, edi
call fcn.0041d5e0
mov esi, dword [edi + 0x10]
push 0
mov ecx, 1
xor eax, eax
call fcn.0041d280
lea ecx, [esp + 0x3c]
add esp, 4
mov eax, str.import_preload_
push ecx
mov edx, 0x420890
mov ecx, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], 0xf
call fcn.0041d1f0
add esp, 4
test eax, eax
jne 0x4224ca
mov eax, dword [edi + 8]
lea ebx, [edi + 8]
sub eax, 0x10
mov dword [esp + 0x38], eax
sub eax, dword [edi + 0x20]
lea edx, [esp + 0x38]
push eax
push edx
push 0x41d170
xor edx, edx
mov eax, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x48], 0xffffffff
call fcn.00430a00
mov ecx, dword [edi + 0x14]
mov edx, dword [ebx]
add esp, 0xc
cmp edx, dword [ecx + 8]
jb 0x421b6d
mov dword [ecx + 8], edx
test eax, eax
jne 0x4224ca
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x20]
mov ecx, dword [eax + 0x1c]
mov dword [esp + 0x3c], edx
mov edx, dword [ebx]
sub edx, dword [edi + 0x20]
lea eax, [esp + 0x38]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
push edx
mov edx, dword [edi + 0x6c]
lea eax, [esp + 0x4c]
push eax
mov dword [esp + 0x40], ecx
lea ecx, [esp + 0x64]
push 0x430af0
mov eax, edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x70], 0x420890
mov dword [esp + 0x54], ecx
mov dword [esp + 0x64], 0x483acc
call fcn.00430a00
mov esi, dword [edi + 0x10]
mov ecx, dword [esp + 0x58]
mov edx, dword [esi + 0x10]
add esp, 0xc
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x54]
push 0
push eax
push ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xc]
push edx
call eax
mov ecx, dword [esp + 0x20]
sub dword [esi + 0x44], ecx
add esp, 0x10
cmp dword [esp + 0x34], 0
jne 0x4224ca
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x24]
test eax, eax
je 0x421c35
push eax
mov esi, edi
call fcn.0041c840
add esp, 4
push 0xffffd8f0
mov eax, edi
call fcn.004204b0
add esp, 4
mov dword [edi + 0x38], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
test eax, eax
jne 0x421c4b
mov ecx, dword [ebx]
mov dword [ecx + 8], eax
add dword [ebx], 0x10
mov edi, ebx
jmp 0x421c93
push edi
call fcn.004208c0
add esp, 4
test eax, eax
jne 0x422442
mov ebx, dword [ebx]
sub ebx, 0x10
mov dword [esp + 0x38], ebx
sub ebx, dword [edi + 0x20]
lea edx, [esp + 0x38]
push ebx
push edx
push 0x41d170
xor edx, edx
mov eax, edi
mov dword [esp + 0x48], 1
call fcn.00430a00
add esp, 0xc
test eax, eax
jne 0x42243e
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x14]
inc eax
cmp eax, 0xc350
jg 0x421caa
mov ecx, ebx
call fcn.0041c2d0
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
test cl, cl
je 0x422013
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
lea ebx, [esi - 4]
add esi, 0xfffffff8
sub eax, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x10], esi
mov eax, 3
movzx ecx, cl
add ecx, 0xffffffda
cmp ecx, 0x53
ja case.0x421e5c.67
movzx ecx, byte [ecx + 0x42252c]
jmp dword [ecx*4 + 0x4224f0]
fild dword [ebx + 4]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
fstp qword [ecx]
mov dword [ecx + 8], eax
jmp 0x421ff4
mov edx, dword [ebx + 4]
fild dword [ebx + 4]
add esi, 4
add ebx, 4
mov ecx, dword [edi]
mov dword [esp + 0x10], esi
test edx, edx
jns 0x421d26
fadd qword [0x4863f8]
fstp qword [ecx]
mov dword [ecx + 8], eax
jmp 0x421ff8
mov ecx, dword [ebx + 4]
add ebx, 4
add esi, 4
mov dword [esp + 0x10], esi
test ecx, ecx
jne 0x421d4f
mov ecx, dword [edi]
mov dword [ecx + 8], 0
jmp 0x421ff8
mov edx, dword [edi]
mov dword [edx], ecx
mov dword [edx + 8], 2
jmp 0x421ff8
movsx edx, word [ebx + 4]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
mov dword [esp + 0x34], edx
mov dword [ecx + 8], eax
fild dword [esp + 0x34]
fstp qword [ecx]
jmp 0x421ff4
movzx edx, word [ebx + 4]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
mov dword [esp + 0x34], edx
mov dword [ecx + 8], eax
fild dword [esp + 0x34]
fstp qword [ecx]
jmp 0x421ff4
movsx edx, byte [ebx + 4]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
mov dword [esp + 0x34], edx
mov dword [ecx + 8], eax
fild dword [esp + 0x34]
fstp qword [ecx]
jmp 0x421ff4
movzx edx, byte [ebx + 4]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
mov dword [esp + 0x34], edx
mov dword [ecx + 8], eax
fild dword [esp + 0x34]
fstp qword [ecx]
jmp 0x421ff4
fild qword [esi + 8]
mov ecx, dword [edi]
add esi, 8
add ebx, 8
fstp qword [ecx]
mov dword [ecx + 8], eax
jmp 0x421ff4
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
add esi, 8
push eax
add ebx, 8
push ecx
jmp 0x421f90
mov ecx, dword [edi]
fld dword [ebx + 4]
add esi, 4
fstp qword [ecx]
add ebx, 4
mov dword [ecx + 8], eax
jmp 0x421ff4
mov ecx, dword [edi]
fld qword [esi + 8]
add esi, 8
fstp qword [ecx]
add ebx, 8
mov dword [ecx + 8], eax
jmp 0x421ff4
mov ecx, dword [edi]
xor edx, edx
add ebx, 4
add esi, 4
cmp dword [ebx], edx
setne dl
jmp 0x421feb
mov ecx, dword [esp + 0x28]
movzx ecx, byte [ecx + edx]
inc dword [esp + 0x20]
add ecx, 0xffffffbe
cmp ecx, 0x37
ja case.0x421e5c.67
movzx edx, byte [ecx + 0x4225bc]
jmp dword [edx*4 + 0x422580]
mov edx, dword [ebx + 4]
fild dword [edx]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
fstp qword [ecx]
mov dword [ecx + 8], eax
jmp 0x421ff4
mov edx, dword [ebx + 4]
mov edx, dword [edx]
add esi, 4
add ebx, 4
mov dword [esp + 0x38], edx
fild dword [esp + 0x38]
jmp 0x421d16
mov eax, dword [ebx + 4]
mov esi, dword [esp + 0x14]
add dword [esp + 0x10], 4
add ebx, 4
push eax
call fcn.0041c840
mov esi, dword [esp + 0x14]
add esp, 4
mov eax, 3
jmp case.0x421e5c.67
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x14]
add ebx, 4
add esi, 4
call fcn.0041c980
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov eax, dword [esp + 0x14]
add ebx, 4
add esi, 4
mov dword [esp + 0x10], esi
call fcn.0041c980
mov eax, 3
jmp case.0x421e5c.67
mov edx, dword [ebx + 4]
movsx edx, byte [edx]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
mov dword [esp + 0x34], edx
mov dword [ecx + 8], eax
fild dword [esp + 0x34]
fstp qword [ecx]
jmp 0x421ff4
mov edx, dword [ebx + 4]
movzx edx, byte [edx]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
mov dword [esp + 0x34], edx
mov dword [ecx + 8], eax
fild dword [esp + 0x34]
fstp qword [ecx]
jmp 0x421ff4
mov edx, dword [ebx + 4]
movsx edx, word [edx]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
mov dword [esp + 0x34], edx
mov dword [ecx + 8], eax
fild dword [esp + 0x34]
fstp qword [ecx]
jmp 0x421ff4
mov edx, dword [ebx + 4]
movzx edx, word [edx]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
mov dword [esp + 0x34], edx
mov dword [ecx + 8], eax
fild dword [esp + 0x34]
fstp qword [ecx]
jmp 0x421ff4
mov edx, dword [ebx + 4]
fild qword [edx]
mov ecx, dword [edi]
add esi, 4
add ebx, 4
fstp qword [ecx]
mov dword [ecx + 8], eax
jmp 0x421ff4
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
add esi, 4
add ebx, 4
push ecx
push edx
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], esi
call fcn.00446cb0
add esp, 8
mov eax, 3
jmp case.0x421e5c.67
mov edx, dword [ebx + 4]
mov ecx, dword [edi]
fld dword [edx]
add esi, 4
fstp qword [ecx]
add ebx, 4
mov dword [ecx + 8], eax
jmp 0x421ff4
mov edx, dword [ebx + 4]
mov ecx, dword [edi]
fld qword [edx]
add esi, 4
fstp qword [ecx]
add ebx, 4
mov dword [ecx + 8], eax
jmp 0x421ff4
mov ecx, dword [edi]
mov edx, dword [ebx + 4]
add ebx, 4
mov dword [esp + 0x34], ecx
xor ecx, ecx
add esi, 4
cmp dword [edx], ecx
setne cl
mov edx, ecx
mov ecx, dword [esp + 0x34]
mov dword [ecx + 8], 1
mov dword [ecx], edx
mov dword [esp + 0x10], esi
add dword [edi], 0x10
mov edx, dword [esp + 0x18]
mov cl, byte [edx + 1]
inc edx
mov dword [esp + 0x18], edx
test cl, cl
jne 0x421cd8
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi]
mov esi, dword [esp + 0x20]
inc ecx
shl ecx, 4
sub eax, ecx
mov dword [esp + 0x38], eax
sub eax, dword [ebx + 0x20]
lea edx, [esp + 0x38]
push eax
push edx
push 0x41d170
xor edx, edx
mov eax, ebx
mov dword [esp + 0x48], esi
call fcn.00430a00
add esp, 0xc
cmp esi, 0xffffffff
jne 0x422057
mov ecx, dword [ebx + 0x14]
mov edx, dword [edi]
cmp edx, dword [ecx + 8]
jb 0x422057
mov dword [ecx + 8], edx
xor esi, esi
cmp eax, esi
je 0x4220a9
push str.RAW_CALLBACK_ERROR
mov eax, ebx
call fcn.0041dda0
mov ecx, dword [esp + 0x28]
mov eax, ecx
add esp, 4
shl eax, 4
cmp ecx, esi
jl 0x42209f
mov edx, dword [ebx + 0xc]
add edx, eax
cmp dword [edi], edx
jae 0x422093
mov edx, dword [edi]
mov dword [edx + 8], esi
add dword [edi], 0x10
mov edx, dword [ebx + 0xc]
add edx, eax
cmp dword [edi], edx
jb 0x422082
mov edx, dword [ebx + 0xc]
add edx, eax
mov dword [edi], edx
jmp 0x4223fb
add eax, 0x10
add dword [edi], eax
jmp 0x4223fb
mov eax, dword [esp + 0x20]
mov esi, eax
dec eax
neg esi
mov dword [esp + 0x20], eax
mov eax, esi
mov ecx, ebx
call fcn.0041c250
cmp eax, 0x482998
jne 0x4220cb
or eax, 0xffffffff
jmp 0x4220ce
mov eax, dword [eax + 8]
dec eax
je 0x42213d
sub eax, 2
je 0x422131
sub eax, 4
jne 0x422122
push 0x483fd4
push 0x483ae4
mov eax, esi
mov ecx, ebx
call fcn.0041eef0
add esp, 8
test eax, eax
je 0x422122
mov eax, esi
mov ecx, ebx
call fcn.0041c250
cmp dword [eax + 8], 7
jne 0x422115
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x1c]
add eax, 0x18
mov dword [esp + 0x40], ecx
jmp 0x422177
xor eax, eax
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x40], ecx
jmp 0x422177
push 0
push 1
push esi
call fcn.00420a00
add esp, 0xc
jmp 0x422172
push esi
push ebx
call fcn.0041c630
add esp, 8
jmp 0x422172
mov eax, esi
mov ecx, ebx
call fcn.0041c250
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x422170
cmp ecx, 1
jne 0x422157
cmp dword [eax], 0
je 0x422170
cmp ecx, 3
jne 0x422169
fld qword [eax]
fldz
fucompp
fnstsw ax
test ah, 0x44
jnp 0x422170
mov eax, 1
jmp 0x422172
xor eax, eax
cdq
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x20]
test edx, edx
je 0x4223f7
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [esp + 0x28], eax
mov al, byte [ecx]
mov dword [esp + 0x18], ecx
test al, al
je 0x4223f7
mov ebx, dword [ebp + 0xc]
add ebx, 0xfffffffc
neg edx
mov dword [esp + 0x20], edx
mov edi, edi
movzx eax, al
add eax, 0xffffffda
cmp eax, 0x53
ja case.0x422206.67
movzx ecx, byte [eax + 0x422604]
jmp dword [ecx*4 + 0x4225f4]
add ebx, 4
jmp case.0x422206.67
add ebx, 8
jmp case.0x422206.67
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov esi, eax
inc eax
mov dword [esp + 0x20], eax
movsx eax, byte [edx]
add eax, 0xffffffbe
mov dword [esp + 0x2c], esi
cmp eax, 0x37
ja case.0x422206.67
movzx eax, byte [eax + 0x422688]
jmp dword [eax*4 + 0x422658]
mov ecx, dword [esp + 0x14]
push esi
push ecx
call fcn.0041c630
mov edx, dword [ebx + 4]
add esp, 8
add ebx, 4
mov dword [edx], eax
jmp case.0x422206.67
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0041c250
cmp dword [eax + 8], 2
jne 0x422240
mov eax, dword [eax]
jmp 0x4223d8
xor eax, eax
jmp 0x4223d8
mov ecx, dword [esp + 0x14]
mov eax, esi
add ebx, 4
call fcn.0041c250
cmp dword [eax + 8], 4
je 0x422297
mov edi, dword [esp + 0x14]
mov esi, eax
call fcn.0042cae0
test eax, eax
jne 0x422272
mov edi, dword [esp + 0x1c]
xor esi, esi
jmp 0x42229c
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x10]
mov edx, dword [eax + 0x44]
cmp edx, dword [eax + 0x40]
jb 0x422288
mov eax, esi
call fcn.0042c8b0
mov eax, dword [esp + 0x2c]
mov ecx, esi
call fcn.0041c250
mov edi, dword [esp + 0x1c]
mov esi, dword [eax]
add esi, 0x10
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
call fcn.0041c750
push eax
mov eax, dword [ebx]
push esi
push eax
call fcn.00465ae0
add esp, 0xc
jmp case.0x422206.67
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x14]
add ebx, 4
mov dword [esp + 0x10], ecx
call fcn.0041c4f0
mov ecx, esi
call fcn.00423930
mov edx, dword [esp + 0x10]
push eax
push 0
push edx
call fcn.00465970
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov edx, esi
call fcn.00424380
add dword [edi], 0xfffffff0
jmp case.0x422206.67
mov eax, dword [esp + 0x14]
push esi
push eax
call fcn.0041c630
mov ecx, dword [ebx + 4]
add esp, 8
add ebx, 4
mov byte [ecx], al
jmp case.0x422206.67
mov edx, dword [esp + 0x14]
push esi
push edx
call fcn.0041c630
mov ecx, dword [ebx + 4]
add esp, 8
add ebx, 4
mov word [ecx], ax
jmp case.0x422206.67
mov ecx, dword [esp + 0x14]
push 0x483fd4
push 0x483ae4
mov eax, esi
call fcn.0041eef0
add esp, 8
test eax, eax
je case.0x422206.108
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0041c7c0
mov edx, dword [eax]
mov ecx, dword [ebx + 4]
mov eax, dword [eax + 4]
add ebx, 4
mov dword [ecx], edx
mov dword [ecx + 4], eax
jmp case.0x422206.67
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0041c5e0
call fcn.00477126
mov ecx, dword [ebx + 4]
add ebx, 4
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x422206.67
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0041c5e0
fstp qword [esp + 0x38]
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x38]
add ebx, 4
mov dword [edx], eax
jmp case.0x422206.67
mov ecx, dword [esp + 0x14]
mov eax, esi
call fcn.0041c5e0
fstp qword [esp + 0x38]
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
add ebx, 4
mov dword [eax], ecx
mov dword [eax + 4], edx
jmp case.0x422206.67
mov eax, dword [esp + 0x14]
push esi
push eax
call fcn.0041c6a0
add esp, 8
mov ecx, dword [ebx + 4]
add ebx, 4
mov dword [ecx], eax
mov eax, dword [esp + 0x18]
inc dword [esp + 0x28]
inc eax
mov dword [esp + 0x18], eax
mov al, byte [eax]
test al, al
jne 0x4221b0
mov ecx, dword [esp + 0x24]
test ecx, ecx
js 0x42249d
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
shl ecx, 4
add edx, ecx
cmp dword [edi], edx
jae 0x422435
jmp 0x422420
mov edx, dword [edi]
mov dword [edx + 8], 0
add dword [edi], 0x10
mov edx, dword [eax + 0xc]
add edx, ecx
cmp dword [edi], edx
jb 0x422420
mov edx, dword [eax + 0xc]
add edx, ecx
mov dword [edi], edx
jmp 0x4224ad
mov ebx, dword [esp + 0x1c]
mov esi, dword [ebx]
sub esi, 0x10
cmp dword [esi + 8], 4
je 0x422471
call fcn.0042cae0
test eax, eax
jne 0x42245a
xor esi, esi
jmp 0x422476
mov eax, dword [edi + 0x10]
mov edx, dword [eax + 0x44]
cmp edx, dword [eax + 0x40]
jb 0x42246c
mov eax, edi
call fcn.0042c8b0
mov esi, dword [ebx]
sub esi, 0x10
mov esi, dword [esi]
add esi, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str._nthread_id:_d_nthread_error:_s
call fcn.0045d1c5
add eax, 0x40
push eax
call fcn.0045c9eb
mov edi, dword [esp + 0x2c]
add esp, 0x10
jmp 0x422403
mov eax, dword [esp + 0x24]
shl eax, 4
add eax, 0x10
add dword [edi], eax
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x30], 0
je 0x4224b9
call fcn.00421290
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.RAW_CALLBACK_ERROR
mov eax, edi
call fcn.0041dda0
add esp, 4
mov eax, edi
call fcn.00421290
pop edi
pop esi
xor eax, eax
xor edx, edx
pop ebx
mov esp, ebp
pop ebp
ret 8